LLRect
. This class will be removed in a future release.@Deprecated public class DistanceApproximation extends Object
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Modifier and Type | Field and Description |
---|---|
static double |
KILOMETERS_PER_MILE
Deprecated.
|
static double |
MILES_PER_LATITUDE
Deprecated.
|
Constructor and Description |
---|
DistanceApproximation()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
getDistanceSq(double lat,
double lng)
Deprecated.
|
double |
getDistanceSq(double lat1,
double lng1,
double lat2,
double lng2)
Deprecated.
|
static double |
getMilesPerLatDeg()
Deprecated.
|
static double |
getMilesPerLngDeg(double lat)
Deprecated.
|
void |
setTestPoint(double lat,
double lng)
Deprecated.
|
public static final double MILES_PER_LATITUDE
public static final double KILOMETERS_PER_MILE
public void setTestPoint(double lat, double lng)
public double getDistanceSq(double lat, double lng)
public double getDistanceSq(double lat1, double lng1, double lat2, double lng2)
public static double getMilesPerLngDeg(double lat)
public static double getMilesPerLatDeg()