Companion
Types
Link copied to clipboard
interface ComputeRectangleOptions
Functions
Link copied to clipboard
fun computeRectangle(options: RectangleGeometry.Companion.ComputeRectangleOptions, result: Rectangle? = definedExternally): Rectangle
Computes the bounding rectangle based on the provided options
Link copied to clipboard
Computes the geometric representation of a rectangle, including its vertices, indices, and a bounding sphere.
Link copied to clipboard
open override fun pack(value: RectangleGeometry, array: ReadonlyArray<Double>, startingIndex: Int?): ReadonlyArray<Double>
Stores the provided instance into the provided array.
Link copied to clipboard
open override fun unpack(array: ReadonlyArray<Double>, startingIndex: Int?, result: RectangleGeometry?): RectangleGeometry
Retrieves an instance from a packed array.