Companion

Types

Link copied to clipboard
external interface ComputeRectangleOptions

Properties

Link copied to clipboard
open external override val packedLength: Int

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

Functions

Link copied to clipboard
external fun computeRectangle(options: EllipseGeometry.Companion.ComputeRectangleOptions, result: Rectangle? = definedExternally): Rectangle

Computes the bounding rectangle based on the provided options

Link copied to clipboard
external fun createGeometry(ellipseGeometry: EllipseGeometry): Geometry?

Computes the geometric representation of a ellipse on an ellipsoid, including its vertices, indices, and a bounding sphere.

Link copied to clipboard
open external override fun pack(value: EllipseGeometry, array: ReadonlyArray<JsDouble>, startingIndex: Int? = definedExternally): ReadonlyArray<JsDouble>

Stores the provided instance into the provided array.

Link copied to clipboard
open external override fun unpack(array: ReadonlyArray<JsDouble>, startingIndex: Int? = definedExternally, result: EllipseGeometry? = definedExternally): EllipseGeometry

Retrieves an instance from a packed array.