# PolygonHierarchy

#### new Cesium.PolygonHierarchy(positions, holes)
engine/Source/Core/PolygonHierarchy.js 12

An hierarchy of linear rings which define a polygon and its holes. The holes themselves may also have holes which nest inner polygons.

Name | Type | 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.

### Members

#### holes : Array.<PolygonHierarchy>
engine/Source/Core/PolygonHierarchy.js 23

An array of polygon hierarchies defining holes in the polygon.

#### positions : Array.<Cartesian3>
engine/Source/Core/PolygonHierarchy.js 17

A linear ring defining the outer boundary of the polygon or hole.

Need help? The fastest way to get answers is from the community and team on the Cesium Forum.