Class FixedLatLng
- java.lang.Object
-
- org.apache.lucene.spatial.geometry.LatLng
-
- org.apache.lucene.spatial.geometry.FixedLatLng
-
@Deprecated public class FixedLatLng extends LatLng
Deprecated.NOTE: This API is still in flux and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description static doubleSCALE_FACTORDeprecated.static intSCALE_FACTOR_INTDeprecated.
-
Constructor Summary
Constructors Constructor Description FixedLatLng(int lat, int lng)Deprecated.FixedLatLng(LatLng ll)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LatLngcalculateMidpoint(LatLng other)Deprecated.Calculate the midpoint between this point an another.LatLngcopy()Deprecated.static intdoubleToFixed(double d)Deprecated.booleanequals(Object obj)Deprecated.static doublefixedToDouble(int fixed)Deprecated.intgetFixedLat()Deprecated.intgetFixedLng()Deprecated.doublegetLat()Deprecated.doublegetLng()Deprecated.inthashCode()Deprecated.booleanisFixedPoint()Deprecated.booleanisNormalized()Deprecated.LatLngnormalize()Deprecated.protected voidsetLat(int lat)Deprecated.protected voidsetLng(int lng)Deprecated.FixedLatLngtoFixed()Deprecated.FloatLatLngtoFloat()Deprecated.-
Methods inherited from class org.apache.lucene.spatial.geometry.LatLng
arcDistance, arcDistance, fromCartesian, toCartesian, toString
-
-
-
-
Field Detail
-
SCALE_FACTOR
public static final double SCALE_FACTOR
Deprecated.- See Also:
- Constant Field Values
-
SCALE_FACTOR_INT
public static final int SCALE_FACTOR_INT
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FixedLatLng
public FixedLatLng(int lat, int lng)Deprecated.
-
FixedLatLng
public FixedLatLng(LatLng ll)
Deprecated.
-
-
Method Detail
-
setLat
protected void setLat(int lat)
Deprecated.
-
setLng
protected void setLng(int lng)
Deprecated.
-
fixedToDouble
public static double fixedToDouble(int fixed)
Deprecated.
-
doubleToFixed
public static int doubleToFixed(double d)
Deprecated.
-
getFixedLat
public int getFixedLat()
Deprecated.- Specified by:
getFixedLatin classLatLng
-
getFixedLng
public int getFixedLng()
Deprecated.- Specified by:
getFixedLngin classLatLng
-
isFixedPoint
public boolean isFixedPoint()
Deprecated.- Specified by:
isFixedPointin classLatLng
-
toFixed
public FixedLatLng toFixed()
Deprecated.
-
toFloat
public FloatLatLng toFloat()
Deprecated.
-
isNormalized
public boolean isNormalized()
Deprecated.- Specified by:
isNormalizedin classLatLng
-
calculateMidpoint
public LatLng calculateMidpoint(LatLng other)
Deprecated.Description copied from class:LatLngCalculate the midpoint between this point an another. Respects fixed vs floating point- Specified by:
calculateMidpointin classLatLng
-
-