Class NearestPointFinder
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.geom.NearestPointFinder
-
public class NearestPointFinder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
NearestPointFinder.NearestPointFilter
-
Constructor Summary
Constructors Constructor Description NearestPointFinder(Geometry geom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Coordinate
findNearestPoint(Geometry geom, Coordinate pt, double tolerance)
Coordinate
getNearestPoint(Coordinate pt, double tolerance)
-
-
-
Field Detail
-
geom
private Geometry geom
-
-
Constructor Detail
-
NearestPointFinder
public NearestPointFinder(Geometry geom)
-
-
Method Detail
-
findNearestPoint
public static Coordinate findNearestPoint(Geometry geom, Coordinate pt, double tolerance)
-
getNearestPoint
public Coordinate getNearestPoint(Coordinate pt, double tolerance)
-
-