程序包 wcontour.global
类 Polygon
- java.lang.Object
-
- wcontour.global.Polygon
-
public class Polygon extends java.lang.ObjectPolygon class- 作者:
- Yaqiang Wang
-
-
字段概要
字段 修饰符和类型 字段 说明 doubleAreaAreaExtentExtentExtent - bordering rectangledoubleHighValueEnd valueintHoleIndexHole indexjava.util.List<PolyLine>HoleLinesHole linesbooleanIsBorderIf is border contour polygonbooleanIsClockWiseIf clockwisebooleanIsHighCenterIs high center or notbooleanIsInnerBorderIf there is only inner borderdoubleLowValueStart valuePolyLineOutLineOutlineintStartPointIdxStart point index
-
构造器概要
构造器 构造器 说明 Polygon()
-
-
-
字段详细资料
-
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
-
-
方法详细资料
-
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
-
-