Companion

Types

Link copied to clipboard
sealed interface ComputeRectangleOptions

Functions

Link copied to clipboard

Computes the bounding rectangle given the provided options

Link copied to clipboard
fun createGeometry(corridorGeometry: CorridorGeometry): Geometry?

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

Link copied to clipboard
fun pack(value: CorridorGeometry, array: ReadonlyArray<Double>, startingIndex: Int? = definedExternally): ReadonlyArray<Double>

Stores the provided instance into the provided array.

Link copied to clipboard
fun unpack(array: ReadonlyArray<Double>, startingIndex: Int? = definedExternally, result: CorridorGeometry? = definedExternally): CorridorGeometry

Retrieves an instance from a packed array.