AxisAlignedBoundingBox

external class AxisAlignedBoundingBox(var minimum: Cartesian3 = definedExternally, var maximum: Cartesian3 = definedExternally, var center: Cartesian3 = definedExternally)(source)

Creates an instance of an AxisAlignedBoundingBox from the minimum and maximum points along the x, y, and z axes.

See also

Constructors

Link copied to clipboard
constructor(minimum: Cartesian3 = definedExternally, maximum: Cartesian3 = definedExternally, center: Cartesian3 = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The center of the box; automatically computed if not supplied.

Link copied to clipboard

The maximum point along the x, y, and z axes. Default value - Cartesian3.ZERO

Link copied to clipboard

The minimum point along the x, y, and z axes. Default value - Cartesian3.ZERO

Functions

Link copied to clipboard
fun clone(result: AxisAlignedBoundingBox? = definedExternally): AxisAlignedBoundingBox

Duplicates this AxisAlignedBoundingBox instance.

Link copied to clipboard

Determines which side of a plane this box is located.