Class GeometryUtils
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.utils.geometry.GeometryUtils
-
public class GeometryUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description GeometryUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Coordinate
projectPointOnLine(org.locationtech.jts.geom.Coordinate c, double a, double b)
projette un point sur une ligne donnée.static org.locationtech.jts.geom.Coordinate
projectPointOnSegment(org.locationtech.jts.geom.Coordinate P, org.locationtech.jts.math.Vector3D vector, org.locationtech.jts.geom.Coordinate pInit)
static org.locationtech.jts.geom.Coordinate
projectPointOnVector(org.locationtech.jts.geom.Coordinate P, org.locationtech.jts.math.Vector3D vector, org.locationtech.jts.geom.Coordinate pInit)
-
-
-
Method Detail
-
projectPointOnSegment
public static org.locationtech.jts.geom.Coordinate projectPointOnSegment(org.locationtech.jts.geom.Coordinate P, org.locationtech.jts.math.Vector3D vector, org.locationtech.jts.geom.Coordinate pInit)
- Parameters:
P
-vector
-pInit
-- Returns:
-
projectPointOnVector
public static org.locationtech.jts.geom.Coordinate projectPointOnVector(org.locationtech.jts.geom.Coordinate P, org.locationtech.jts.math.Vector3D vector, org.locationtech.jts.geom.Coordinate pInit)
- Parameters:
P
-vector
-pInit
-- Returns:
-
projectPointOnLine
public static org.locationtech.jts.geom.Coordinate projectPointOnLine(org.locationtech.jts.geom.Coordinate c, double a, double b)
projette un point sur une ligne donnée.- Parameters:
c
- représente les coordonnées du point à projeter.a
- la pente (x) de la ligne.b
- l'ordonnée (y) à l'origine de la ligne.- Returns:
- les coordonnées du point projeté
-
-