|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.spatial.geometry.shape.DistanceApproximation
LLRect
. This class will be removed in a future release.
@Deprecated public class DistanceApproximation
Imported from mq java client. No changes made.
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Field Summary | |
---|---|
static double |
KILOMETERS_PER_MILE
Deprecated. |
static double |
MILES_PER_LATITUDE
Deprecated. |
Constructor Summary | |
---|---|
DistanceApproximation()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double MILES_PER_LATITUDE
public static final double KILOMETERS_PER_MILE
Constructor Detail |
---|
public DistanceApproximation()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |