Class CartesianPoint
- java.lang.Object
-
- org.apache.lucene.spatial.geometry.CartesianPoint
-
@Deprecated public class CartesianPoint extends Object
Deprecated.Represents lat/lngs as fixed point numbers translated so that all world coordinates are in the first quadrant. The same fixed point scale as is used for FixedLatLng is employed.NOTE: This API is still in flux and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description CartesianPoint(int x, int y)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Deprecated.int
getX()
Deprecated.int
getY()
Deprecated.int
hashCode()
Deprecated.String
toString()
Deprecated.CartesianPoint
translate(int deltaX, int deltaY)
Deprecated.Return a new point translated in the x and y dimensions
-
-
-
Method Detail
-
getX
public int getX()
Deprecated.
-
getY
public int getY()
Deprecated.
-
translate
public CartesianPoint translate(int deltaX, int deltaY)
Deprecated.Return a new point translated in the x and y dimensions
-
-