Class LocationIndexOfPoint

java.lang.Object
org.locationtech.jts.linearref.LocationIndexOfPoint

class LocationIndexOfPoint extends Object
Computes the LinearLocation of the point on a linear Geometry nearest a given Coordinate. The nearest point is not necessarily unique; this class always computes the nearest point closest to the start of the geometry.
  • Field Details

    • linearGeom

      private Geometry linearGeom
  • Constructor Details

    • LocationIndexOfPoint

      public LocationIndexOfPoint(Geometry linearGeom)
  • Method Details