Box3
Represents an axis-aligned bounding box (AABB) in 3D space.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Transforms box by 4x4 matrix.
Transforms box by 4x4 matrix.
Attributes
Clamps a point within box bounds.
Clamps a point within box bounds.
Attributes
Tests if box contains another box entirely.
Tests if box contains another box entirely.
Attributes
Tests if point is inside box.
Tests if point is inside box.
Attributes
Copies values from another box.
Copies values from another box.
Attributes
Returns distance from box edge to point.
Returns distance from box edge to point.
Attributes
Tests equality with another box.
Tests equality with another box.
Attributes
Expands box to include the given object and its children.
Expands box to include the given object and its children.
Attributes
Expands box to include the given point.
Expands box to include the given point.
Attributes
Expands box by scalar amount.
Expands box by scalar amount.
Attributes
Expands box equilaterally by the given vector.
Expands box equilaterally by the given vector.
Attributes
Returns a bounding sphere enclosing this box.
Returns a bounding sphere enclosing this box.
Attributes
Returns the center point of this box.
Returns the center point of this box.
Attributes
Returns point as a proportion of box's dimensions.
Returns point as a proportion of box's dimensions.
Attributes
Returns the dimensions of this box.
Returns the dimensions of this box.
Attributes
Computes intersection with another box.
Computes intersection with another box.
Attributes
Tests if box intersects with another box.
Tests if box intersects with another box.
Attributes
Tests if box intersects with a plane.
Tests if box intersects with a plane.
Attributes
Tests if box intersects with a sphere.
Tests if box intersects with a sphere.
Attributes
Tests if box intersects with a triangle.
Tests if box intersects with a triangle.
Attributes
Checks if this box is empty.
Checks if this box is empty.
Attributes
Makes this box empty.
Makes this box empty.
Attributes
Sets the lower and upper boundaries of this box.
Sets the lower and upper boundaries of this box.
Attributes
Sets box bounds to enclose all positions in the given array.
Sets box bounds to enclose all positions in the given array.
Attributes
Sets box bounds from the given buffer attribute.
Sets box bounds from the given buffer attribute.
Attributes
Centers this box on the given center vector with the given size.
Centers this box on the given center vector with the given size.
Attributes
Sets box bounds from the given 3D object.
Sets box bounds from the given 3D object.
Attributes
Sets box bounds to enclose all points in the array.
Sets box bounds to enclose all points in the array.
Attributes
Translates box by offset vector.
Translates box by offset vector.
Attributes
Inherited methods
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object