public abstract static class GeoDistance.FixedSourceDistanceBase extends java.lang.Object implements GeoDistance.FixedSourceDistance
GeoDistance.FixedSourceDistance
. This class keeps the basic parameters for a distance
functions based on a fixed source. Namely latitude, longitude and unit.Modifier and Type | Field and Description |
---|---|
protected double |
sourceLatitude |
protected double |
sourceLongitude |
protected DistanceUnit |
unit |
Constructor and Description |
---|
FixedSourceDistanceBase(double sourceLatitude,
double sourceLongitude,
DistanceUnit unit) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculate
protected final double sourceLatitude
protected final double sourceLongitude
protected final DistanceUnit unit
public FixedSourceDistanceBase(double sourceLatitude, double sourceLongitude, DistanceUnit unit)