Companion

Functions

Link copied to clipboard

Duplicates a AxisAlignedBoundingBox instance.

Link copied to clipboard
fun equals(left: AxisAlignedBoundingBox? = definedExternally, right: AxisAlignedBoundingBox? = definedExternally): Boolean

Compares the provided AxisAlignedBoundingBox componentwise and returns true if they are equal, false otherwise.

Link copied to clipboard
fun fromCorners(minimum: Cartesian3, maximum: Cartesian3, result: AxisAlignedBoundingBox? = definedExternally): AxisAlignedBoundingBox

Creates an instance of an AxisAlignedBoundingBox from its corners.

Link copied to clipboard
fun fromPoints(positions: ReadonlyArray<Cartesian3>, result: AxisAlignedBoundingBox? = definedExternally): AxisAlignedBoundingBox

Computes an instance of an AxisAlignedBoundingBox. The box is determined by finding the points spaced the farthest apart on the x, y, and z axes.

Link copied to clipboard

Determines which side of a plane a box is located.