CoplanarPolygonOutlineGeometry

A description of the outline of a polygon composed of arbitrary coplanar positions.

const polygonOutline = new CoplanarPolygonOutlineGeometry({
positions : Cartesian3.fromDegreesArrayHeights([
-90.0, 30.0, 0.0,
-90.0, 30.0, 1000.0,
-80.0, 30.0, 1000.0,
-80.0, 30.0, 0.0
])
});
const geometry = CoplanarPolygonOutlineGeometry.createGeometry(polygonOutline);

See also

Constructors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface ConstructorOptions

Properties

Link copied to clipboard

The number of elements used to pack the object into an array.