@Deprecated public class DistanceApproximation extends Object
LLRect
. This class will be removed in a future release.NOTE: This API is still in flux and might change in incompatible ways in the next release.
Modifier and Type | Field | Description |
---|---|---|
static double |
KILOMETERS_PER_MILE |
Deprecated.
|
static double |
MILES_PER_LATITUDE |
Deprecated.
|
Constructor | Description |
---|---|
DistanceApproximation() |
Deprecated.
|
Modifier and Type | Method | 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()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.