Class Line

java.lang.Object
cn.mapway.geo.geometry.Line
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable

public class Line extends Object implements Serializable, com.google.gwt.user.client.rpc.IsSerializable
Line
Author:
zhangjianshe@gmail.com
See Also:
  • Constructor Details

    • Line

      public Line()
  • Method Details

    • getExtend

      public GeoExtend getExtend()
    • add

      public void add(GeoPoint point)
    • center

      public GeoPoint center()
    • add

      public void add(Double x, Double y)
    • head

      public void head(Double x, Double y)
    • reverse

      public void reverse()
    • getPoints

      public List<GeoPoint> getPoints()
    • toString

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

      public void close()
      确保 line is Closed