java.lang.Object
org.noise_planet.noisemodelling.pathfinder.utils.geometry.GeometryUtils

public class GeometryUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GeometryUtils

      public GeometryUtils()
  • Method Details

    • 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é