Class ClosestPointExample
java.lang.Object
org.locationtech.jtsexample.operation.distance.ClosestPointExample
Example of computing distance and closest points between geometries
using the DistanceOp class.
- Version:
- 1.7
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static GeometryFactory
(package private) static WKTReader
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fact
-
wktRdr
-
-
Constructor Details
-
ClosestPointExample
public ClosestPointExample()
-
-
Method Details
-
main
-
run
public void run() -
findClosestPoint
-