PolygonHierarchy

external class PolygonHierarchy(var positions: ReadonlyArray<Cartesian3> = definedExternally, var holes: ReadonlyArray<PolygonHierarchy> = definedExternally)(source)

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

See also

Constructors

Link copied to clipboard
constructor(positions: ReadonlyArray<Cartesian3> = definedExternally, holes: ReadonlyArray<PolygonHierarchy> = definedExternally)

Properties

Link copied to clipboard

An array of polygon hierarchies defining holes in the polygon.

Link copied to clipboard

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