Axis aligned bounding box.
More...
|
def | __init__ |
|
def | set |
|
def | __add__ |
|
def | __iadd__ |
|
def | width |
|
def | height |
|
def | depth |
|
def | center |
|
def | left |
|
def | right |
|
def | bottom |
|
def | top |
|
def | back |
|
def | front |
|
def | minimum |
|
def | maximum |
|
def | isValid |
| Check if the bounding box is valid. More...
|
|
def | intersectsRay |
| Intersect the bounding box with a ray. More...
|
|
def | intersectsBox |
| Check to see if this box intersects another box. More...
|
|
def | __repr__ |
| private:
|
|
Axis aligned bounding box.
def UM.Math.AxisAlignedBox.AxisAlignedBox.intersectsBox |
( |
|
self, |
|
|
|
box |
|
) |
| |
Check to see if this box intersects another box.
- Parameters
-
box | The box to check for intersection. |
- Returns
- IntersectionResult NoIntersection when no intersection occurs, PartialIntersection when partially intersected, FullIntersection when box is fully contained inside this box.
def UM.Math.AxisAlignedBox.AxisAlignedBox.intersectsRay |
( |
|
self, |
|
|
|
ray |
|
) |
| |
Intersect the bounding box with a ray.
- See also
- Ray
def UM.Math.AxisAlignedBox.AxisAlignedBox.isValid |
( |
|
self, |
|
|
|
bool |
|
) |
| |
The documentation for this class was generated from the following file:
- UM/Math/AxisAlignedBox.py