|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 LatLng
public int getFixedLat()
getFixedLat
in class LatLng
public int getFixedLng()
getFixedLng
in class LatLng
public double getLat()
getLat
in class LatLng
public double getLng()
getLng
in class LatLng
public boolean isFixedPoint()
isFixedPoint
in class LatLng
public FixedLatLng toFixed()
toFixed
in class LatLng
public FloatLatLng toFloat()
toFloat
in class LatLng
public boolean isNormalized()
isNormalized
in class LatLng
public LatLng normalize()
normalize
in class LatLng
public LatLng calculateMidpoint(LatLng other)
LatLng
calculateMidpoint
in class LatLng
public int hashCode()
hashCode
in class LatLng
public boolean equals(Object obj)
equals
in class LatLng
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |