BoundingBox
ReferencesThis box is therefore aligned to the world X, Y and Z axes.
Constructors
Properties
Methods
The user can choose how to treat bounding boxes with coincident surfaces.
This is the same as calling Contains(box,false).
If 'strict' is affirmative, true if the point is inside this bounding box; false if it is on the surface or outside.
If 'strict' is negative, true if the point is on the surface or on the inside of the bounding box; otherwise false.
See remarks for the return order.
[0] Min.X, Min.Y, Min.Z
[1] Max.X, Min.Y, Min.Z
[2] Max.X, Max.Y, Min.Z
[3] Min.X, Max.Y, Min.Z
[4] Min.X, Min.Y, Max.Z
[5] Max.X, Min.Y, Max.Z
[6] Max.X, Max.Y, Max.Z
[7] Min.X, Max.Y, Max.Z
Invalid boxes can not be inflated.
InValid boxes can not be inflated.
To test two boxes for overlap without constructing an intersection box, use IsDisjoint(BoundingBox).
When tolerance is positive, the boxes are considered to intersect (not disjoint) if the gap between them is less than or equal to tolerance. This is useful as a coarse pre-check when the boxes may be separated by numerical noise but the underlying geometry actually intersects within a working tolerance.
When tolerance is 0.0, the result is the same as IsDisjoint(box).
When tolerance is negative, the boxes must overlap by more than the absolute value of tolerance to be considered not disjoint.
This is the same as calling IsDisjoint(box, 0.0).
The box has idealized side length of 1x1x1.