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