- Enclosing class:
- Geometry
public static final class Geometry.Nearest
extends Object
The closest point on a geometry to some location, and how far away it is.
-
Method Summary
double
The distance from the location to
point(), in the geometry's units.
-
Method Details
-
-
distance
public double distance()
The distance from the location to
point(), in the geometry's units. 0 if it is on the geometry.
-