Companion

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun computeRectangleFromPositions(    positions: <Error class: unknown class><Cartesian3>,     ellipsoid: Ellipsoid? = definedExternally,     arcType: ArcType? = definedExternally,     result: Rectangle? = definedExternally): Rectangle

Computes a rectangle which encloses the polygon defined by the list of positions, including cases over the international date line and the poles.

Link copied to clipboard
fun createGeometry(polygonGeometry: PolygonGeometry): Geometry?

Computes the geometric representation of a polygon, including its vertices, indices, and a bounding sphere.

Link copied to clipboard

A description of a polygon from an array of positions. Polygon geometry can be rendered with both Primitive and GroundPrimitive.

Link copied to clipboard
fun pack(    value: PolygonGeometry,     array: <Error class: unknown class><Double>,     startingIndex: Int? = definedExternally): <Error class: unknown class><Double>

Stores the provided instance into the provided array.

Link copied to clipboard
fun unpack(    array: <Error class: unknown class><Double>,     startingIndex: Int? = definedExternally,     result: PolygonGeometry? = definedExternally): PolygonGeometry

Retrieves an instance from a packed array.