类 Polyline

  • 直接已知子类:
    PolylineZ

    public class Polyline
    extends Object
    Polyline class
    作者:
    Yaqiang Wang
    • 构造器详细资料

      • Polyline

        public Polyline()
    • 方法详细资料

      • getPointList

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

        public void setPointList​(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 List<double[]> getPositions​(double aLen)
        Get position list: x, y, angle
        参数:
        aLen - segment length
        返回:
        position list