|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.spatial.geometry.LatLng
org.apache.lucene.spatial.geometry.FixedLatLng
@Deprecated public class FixedLatLng
NOTE: This API is still in flux and might change in incompatible ways in the next release.
| Field Summary | |
|---|---|
static double |
SCALE_FACTOR
Deprecated. |
static int |
SCALE_FACTOR_INT
Deprecated. |
| Constructor Summary | |
|---|---|
FixedLatLng(int lat,
int lng)
Deprecated. |
|
FixedLatLng(LatLng ll)
Deprecated. |
|
| Method Summary | |
|---|---|
LatLng |
calculateMidpoint(LatLng other)
Deprecated. Calculate the midpoint between this point an another. |
LatLng |
copy()
Deprecated. |
static int |
doubleToFixed(double d)
Deprecated. |
boolean |
equals(Object obj)
Deprecated. |
static double |
fixedToDouble(int fixed)
Deprecated. |
int |
getFixedLat()
Deprecated. |
int |
getFixedLng()
Deprecated. |
double |
getLat()
Deprecated. |
double |
getLng()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
isFixedPoint()
Deprecated. |
boolean |
isNormalized()
Deprecated. |
LatLng |
normalize()
Deprecated. |
protected void |
setLat(int lat)
Deprecated. |
protected void |
setLng(int lng)
Deprecated. |
FixedLatLng |
toFixed()
Deprecated. |
FloatLatLng |
toFloat()
Deprecated. |
| Methods inherited from class org.apache.lucene.spatial.geometry.LatLng |
|---|
arcDistance, arcDistance, fromCartesian, toCartesian, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final double SCALE_FACTOR
public static final int SCALE_FACTOR_INT
| Constructor Detail |
|---|
public FixedLatLng(int lat,
int lng)
public FixedLatLng(LatLng ll)
| Method Detail |
|---|
protected void setLat(int lat)
protected void setLng(int lng)
public static double fixedToDouble(int fixed)
public static int doubleToFixed(double d)
public LatLng copy()
copy in class LatLngpublic int getFixedLat()
getFixedLat in class LatLngpublic int getFixedLng()
getFixedLng in class LatLngpublic double getLat()
getLat in class LatLngpublic double getLng()
getLng in class LatLngpublic boolean isFixedPoint()
isFixedPoint in class LatLngpublic FixedLatLng toFixed()
toFixed in class LatLngpublic FloatLatLng toFloat()
toFloat in class LatLngpublic boolean isNormalized()
isNormalized in class LatLngpublic LatLng normalize()
normalize in class LatLngpublic LatLng calculateMidpoint(LatLng other)
LatLng
calculateMidpoint in class LatLngpublic int hashCode()
hashCode in class LatLngpublic boolean equals(Object obj)
equals in class LatLng
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||