Creates a Box3 bounded by min and max.
Vector3 representing the lower (x, y, z) boundary of the box. Default is ( + Infinity, + Infinity, + Infinity ).
Vector3 representing the upper (x, y, z) boundary of the box. Default is ( - Infinity, - Infinity, - Infinity ).
Vector3 representing the upper (x, y, z) boundary of the box. Default is ( - Infinity, - Infinity, - Infinity ).
Vector3 representing the lower (x, y, z) boundary of the box. Default is ( + Infinity, + Infinity, + Infinity ).
Expands this box equilaterally by vector. The width of this box will be expanded by the x component of vector in both directions. The height of this box will be expanded by the y component of vector in both directions. The depth of this box will be expanded by the z component of vector in both directions.
Note that a box with equal lower and upper bounds still includes one point, the one both bounds share.
Returns true if this box includes zero points within its bounds.
Sets the lower and upper (x, y, z) boundaries of this box. Please note that this method only copies the values from the given objects.
Vector3 representing the lower (x, y, z) boundary of the box.
Vector3 representing the lower upper (x, y, z) boundary of the box.
Sets the upper and lower bounds of this box to include all of the data in attribute.
Generated using TypeDoc
Represents an axis-aligned bounding box (AABB) in 3D space. See the ngx3js docs page for details.
Examples
webgl / loader / 3mf | webgl / loader / ldraw | webgl / materials / normalmap / object / space | webxr / vr / haptics