public interface GeoDistance extends Membership
| Modifier and Type | Method and Description |
|---|---|
double |
computeDistance(DistanceStyle distanceStyle,
double x,
double y,
double z)
Compute this shape's internal "distance" to the GeoPoint.
|
double |
computeDistance(DistanceStyle distanceStyle,
GeoPoint point)
Compute this shape's internal "distance" to the GeoPoint.
|
isWithin, isWithindouble computeDistance(DistanceStyle distanceStyle, GeoPoint point)
distanceStyle - is the distance style.point - is the point to compute the distance to.double computeDistance(DistanceStyle distanceStyle, double x, double y, double z)
x - is the point's unit x coordinate (using U.S. convention).y - is the point's unit y coordinate (using U.S. convention).z - is the point's unit z coordinate (using U.S. convention).Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.