Box
Represents a 3D rectangular cuboid defined by its corner position, width, height, and depth.
This class provides a number of geometric and mathematical operations, transformations, and utility functions for working with 3D boxes. It implements LinearType
for linear algebra operations, as well as Movable3D
and Scalable3D
for 3D manipulation.
Parameters
The position of the corner of the box.
The width of the box along the X-axis.
The height of the box along the Y-axis.
The depth of the box along the Z-axis.
Constructors
Properties
Provides the dimensions of the box as a Vector3, where the x, y, and z components represent the width, height, and depth of the box respectively.
Determines the axis along which the box has its greatest dimension.
Represents the axis corresponding to the smallest dimension of the box.
Returns a normalized version of the current box.
Represents the range along the X-axis for the box.
Represents the range along the Y-axis for the box.
Represents the range along the Z-axis for the box.