类 Polyline

  • 直接已知子类:
    PolylineZ

    public class Polyline
    extends java.lang.Object
    Polyline class
    作者:
    Yaqiang Wang
    • 构造器概要

      构造器 
      构造器 说明
      Polyline()  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      Extent getExtent()
      Get extent
      double getLength()
      Get length
      double[] getLengths()
      Get lengths of each segment
      java.util.List<? extends PointD> getPointList()
      Get point list
      java.util.List<double[]> getPositions​(double aLen)
      Get position list: x, y, angle
      boolean isClosed()
      Determine if the polyline is closed
      void setPointList​(java.util.List<? extends PointD> points)
      Set point list
      void setPoints​(PointF[] points)
      Set points
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • Polyline

        public Polyline()
    • 方法详细资料

      • getPointList

        public java.util.List<? extends PointD> getPointList()
        Get point list
        返回:
        point list
      • setPointList

        public void setPointList​(java.util.List<? extends PointD> points)
        Set point list
        参数:
        points - point list
      • getExtent

        public Extent getExtent()
        Get extent
        返回:
        extent
      • setPoints

        public void setPoints​(PointF[] points)
        Set points
        参数:
        points - point array
      • isClosed

        public boolean isClosed()
        Determine if the polyline is closed
        返回:
        boolean
      • getLength

        public double getLength()
        Get length
        返回:
        length
      • getLengths

        public double[] getLengths()
        Get lengths of each segment
        返回:
        length array
      • getPositions

        public java.util.List<double[]> getPositions​(double aLen)
        Get position list: x, y, angle
        参数:
        aLen - segment length
        返回:
        position list