public static class GeoDistance.PlaneFixedSourceDistance extends 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
Copyright © 2009–2015. All rights reserved.