Box (hwx.common.math.Box)#
- class Box(position, x, y, z)#
Bases:
objectPosition and x, y, z dimension lengths.
- APIs will always return non axis-aligned bounding boxes so:
box.x >= box.y >= box.z
Method Table# Name
Description
fromMinMax(minPoint, maxPoint)Create an axis-aligned box from corner points.
sortAxes(self)Update axes so box.x >= box.y >= box.z.
- property extents#
Distance along each axis from center to corner
- sortAxes()#
Update axes so box.x >= box.y >= box.z.