Class 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 Detail

      • CartesianPoint

        public CartesianPoint​(int x,
                              int y)
        Deprecated.
    • 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
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object