Class FloatLatLng
- java.lang.Object
-
- org.apache.lucene.spatial.geometry.LatLng
-
- org.apache.lucene.spatial.geometry.FloatLatLng
-
@Deprecated public class FloatLatLng extends LatLng
Deprecated.NOTE: This API is still in flux and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description FloatLatLng(double lat, double lng)Deprecated.FloatLatLng(LatLng ll)Deprecated.
-
Method Summary
All 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.booleanequals(Object obj)Deprecated.intgetFixedLat()Deprecated.intgetFixedLng()Deprecated.doublegetLat()Deprecated.doublegetLng()Deprecated.inthashCode()Deprecated.booleanisFixedPoint()Deprecated.booleanisNormalized()Deprecated.LatLngnormalize()Deprecated.FixedLatLngtoFixed()Deprecated.FloatLatLngtoFloat()Deprecated.-
Methods inherited from class org.apache.lucene.spatial.geometry.LatLng
arcDistance, arcDistance, fromCartesian, toCartesian, toString
-
-
-
-
Constructor Detail
-
FloatLatLng
public FloatLatLng(double lat, double lng)Deprecated.
-
FloatLatLng
public FloatLatLng(LatLng ll)
Deprecated.
-
-
Method Detail
-
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
-
-