Types
Link copied to clipboard
interface FromPositionsOptions
Functions
Link copied to clipboard
fun computeRectangleFromPositions(positions: ERROR CLASS: Symbol not found for ReadonlyArray<cesium/engine/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
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: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>, startingIndex: Int? = definedExternally): ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>
Stores the provided instance into the provided array.
Link copied to clipboard
fun unpack(array: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>, startingIndex: Int? = definedExternally, result: PolygonGeometry? = definedExternally): PolygonGeometry
Retrieves an instance from a packed array.