public static class GeoDistance.PlaneFixedSourceDistance extends java.lang.Object implements GeoDistance.FixedSourceDistance
Constructor and Description |
---|
PlaneFixedSourceDistance(double sourceLatitude,
double sourceLongitude,
DistanceUnit unit) |
Modifier and Type | Method and Description |
---|---|
double |
calculate(double targetLatitude,
double targetLongitude) |
public PlaneFixedSourceDistance(double sourceLatitude, double sourceLongitude, DistanceUnit unit)
public double calculate(double targetLatitude, double targetLongitude)
calculate
in interface GeoDistance.FixedSourceDistance