public interface GeoDistance extends Membership
Modifier and Type  Method and Description 

default double 
computeDeltaDistance(DistanceStyle distanceStyle,
double x,
double y,
double z)
Compute the shape's delta distance given a point.

default double 
computeDeltaDistance(DistanceStyle distanceStyle,
GeoPoint point)
Compute the shape's delta distance given a point.

double 
computeDistance(DistanceStyle distanceStyle,
double x,
double y,
double z)
Compute this shape's internal "distance" to the GeoPoint.

default double 
computeDistance(DistanceStyle distanceStyle,
GeoPoint point)
Compute this shape's internal "distance" to the GeoPoint.

isWithin, isWithin
default double 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)
distanceStyle
 is the distance style.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).default double computeDeltaDistance(DistanceStyle distanceStyle, GeoPoint point)
distanceStyle
 is the distance style.point
 is the point to compute the distance to.default double computeDeltaDistance(DistanceStyle distanceStyle, double x, double y, double z)
distanceStyle
 is the distance style.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 © 20002021 Apache Software Foundation. All Rights Reserved.