Class GeometryUtils


  • public class GeometryUtils
    extends Object
    • Constructor Detail

      • GeometryUtils

        public GeometryUtils()
    • 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é