PolygonHierarchy - Cesium Documentation

# PolygonHierarchy

#### new PolygonHierarchy(positions, holes)

  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.

  Source: Core/PolygonHierarchy.js, line 17

### Members

#### holes :Array.<PolygonHierarchy>

  An array of polygon hierarchies defining holes in the polygon.
  Source: Core/PolygonHierarchy.js, line 28

#### positions :Array.<Cartesian3>

  A linear ring defining the outer boundary of the polygon or hole.
  Source: Core/PolygonHierarchy.js, line 22