public interface GeoDistance extends Membership
Modifier and Type  Method and Description 

double 
computeArcDistance(GeoPoint point)
Compute a true, accurate, greatcircle distance to a point.

double 
computeLinearDistance(double x,
double y,
double z)
Compute this shape's linear "distance" to the GeoPoint.

double 
computeLinearDistance(GeoPoint point)
Compute this shape's linear "distance" to the GeoPoint.

double 
computeNormalDistance(double x,
double y,
double z)
Compute this shape's normal "distance" to the GeoPoint.

double 
computeNormalDistance(GeoPoint point)
Compute this shape's normal "distance" to the GeoPoint.

double 
computeSquaredLinearDistance(double x,
double y,
double z)
Compute the square of this shape's linear "distance" to the GeoPoint.

double 
computeSquaredLinearDistance(GeoPoint point)
Compute the square of this shape's linear "distance" to the GeoPoint.

double 
computeSquaredNormalDistance(double x,
double y,
double z)
Compute the square of this shape's normal "distance" to the GeoPoint.

double 
computeSquaredNormalDistance(GeoPoint point)
Compute the square of this shape's normal "distance" to the GeoPoint.

isWithin, isWithin
double computeNormalDistance(GeoPoint point)
point
 is the point to compute the distance to.double computeNormalDistance(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).double computeSquaredNormalDistance(GeoPoint point)
point
 is the point to compute the distance to.double computeSquaredNormalDistance(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).double computeLinearDistance(GeoPoint point)
point
 is the point to compute the distance to.double computeLinearDistance(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).double computeSquaredLinearDistance(GeoPoint point)
point
 is the point to compute the distance to.double computeSquaredLinearDistance(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).double computeArcDistance(GeoPoint point)
point
 is the point.Copyright © 20002015 Apache Software Foundation. All Rights Reserved.