public interface DistanceStyle
| Modifier and Type | Field and Description | 
|---|---|
static ArcDistance | 
ARC
Arc distance calculator 
 | 
static LinearDistance | 
LINEAR
Linear distance calculator 
 | 
static LinearSquaredDistance | 
LINEAR_SQUARED
Linear distance squared calculator 
 | 
static NormalDistance | 
NORMAL
Normal distance calculator 
 | 
static NormalSquaredDistance | 
NORMAL_SQUARED
Normal distance squared calculator 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
computeDistance(GeoPoint point1,
               double x2,
               double y2,
               double z2)
Compute the distance from a point to another point. 
 | 
double | 
computeDistance(GeoPoint point1,
               GeoPoint point2)
Compute the distance from a point to another point. 
 | 
double | 
computeDistance(PlanetModel planetModel,
               Plane plane,
               double x,
               double y,
               double z,
               Membership... bounds)
Compute the distance from a plane to a point. 
 | 
double | 
computeDistance(PlanetModel planetModel,
               Plane plane,
               GeoPoint point,
               Membership... bounds)
Compute the distance from a plane to a point. 
 | 
static final ArcDistance ARC
static final LinearDistance LINEAR
static final LinearSquaredDistance LINEAR_SQUARED
static final NormalDistance NORMAL
static final NormalSquaredDistance NORMAL_SQUARED
double computeDistance(GeoPoint point1, GeoPoint point2)
point1 - Starting pointpoint2 - Final pointdouble computeDistance(GeoPoint point1, double x2, double y2, double z2)
point1 - Starting pointx2 - Final point xy2 - Final point yz2 - Final point zdouble computeDistance(PlanetModel planetModel, Plane plane, GeoPoint point, Membership... bounds)
planetModel - The planet modelplane - The planepoint - The pointbounds - are the plane boundsdouble computeDistance(PlanetModel planetModel, Plane plane, double x, double y, double z, Membership... bounds)
planetModel - The planet modelplane - The planex - The point xy - The point yz - The point zbounds - are the plane boundsCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.