new PolygonHierarchy(positionsopt, holesopt)
An hierarchy of linear rings which define a polygon and its holes.
The holes themselves may also have holes which nest inner polygons.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
positions |
Array.<Cartesian3> |
<optional> |
A linear ring defining the outer boundary of the polygon or hole. |
holes |
Array.<PolygonHierarchy> |
<optional> |
An array of polygon hierarchies defining holes in the polygon. |
- Source:
Members
holes :Array.<PolygonHierarchy>
An array of polygon hierarchies defining holes in the polygon.
Type:
- Array.<PolygonHierarchy>
- Source:
positions :Array.<Cartesian3>
A linear ring defining the outer boundary of the polygon or hole.
Type:
- Array.<Cartesian3>
- Source: