English | 简体中文

PolygonHierarchy

new Cesium.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.

Members

An array of polygon hierarchies defining holes in the polygon.
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.