程序包 wcontour.global

类 Polygon


  • public class Polygon
    extends java.lang.Object
    Polygon class
    作者:
    Yaqiang Wang
    • 字段详细资料

      • IsBorder

        public boolean IsBorder
        If is border contour polygon
      • IsInnerBorder

        public boolean IsInnerBorder
        If there is only inner border
      • LowValue

        public double LowValue
        Start value
      • HighValue

        public double HighValue
        End value
      • IsClockWise

        public boolean IsClockWise
        If clockwise
      • StartPointIdx

        public int StartPointIdx
        Start point index
      • IsHighCenter

        public boolean IsHighCenter
        Is high center or not
      • Extent

        public Extent Extent
        Extent - bordering rectangle
      • Area

        public double Area
        Area
      • OutLine

        public PolyLine OutLine
        Outline
      • HoleLines

        public java.util.List<PolyLine> HoleLines
        Hole lines
      • HoleIndex

        public int HoleIndex
        Hole index
    • 构造器详细资料

      • Polygon

        public Polygon()
    • 方法详细资料

      • Clone

        public java.lang.Object Clone()
        Clone the object
        返回:
        cloned Polygon object
      • HasHoles

        public boolean HasHoles()
        Get if has holes
        返回:
        Boolean
      • AddHole

        public void AddHole​(Polygon aPolygon)
        Add a pohygon hole
        参数:
        aPolygon - The polygon hole
      • AddHole

        public void AddHole​(java.util.List<PointD> pList)
        Add a hole by point list
        参数:
        pList - The point list