Class Point

java.lang.Object
cn.mapway.geo.shared.vector.GeoObject
cn.mapway.geo.shared.vector.Point
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable

public class Point extends GeoObject implements Serializable, com.google.gwt.user.client.rpc.IsSerializable
Point 点
Author:
zhang
See Also:
  • Field Details

    • x

      public double x
    • y

      public double y
  • Constructor Details

    • Point

      public Point(double x, double y)
    • Point

      public Point()
    • Point

      public Point(Point point)
  • Method Details

    • getXAsInt

      public int getXAsInt()
    • getYAsInt

      public int getYAsInt()
    • copyFrom

      public void copyFrom(Point point)
    • set

      public void set(double x, double y)
    • set

      public void set(Point point)
    • getX

      public double getX()
    • setX

      public void setX(double x)
    • getY

      public double getY()
    • setY

      public void setY(double y)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getExtend

      public Box getExtend()
      Specified by:
      getExtend in class GeoObject
    • toWKT

      public String toWKT()
    • clone

      public Point clone()
      Overrides:
      clone in class Object
    • equals

      public boolean equals(Object pt)
      Overrides:
      equals in class Object