aabb
An Axis Aligned Bounding Box, or AABB for short.
They take the form of a dictionary with the following keys:
The following functions are in the aabb module.
aabb
aabb()
Compute an axis aligned bounding box (aabb) for a list of vectors</Type>.
mid
mid()
Get the mid-point of an AABB as vector.
corner-points
corner-points()
Get four corner points of the AABB as vectors.
size
size()
Get the size of an aabb as vector. This is a vector from the aabb’s low to high.
padded
padded()
Pad AABB with padding from dictionary with keys top, left, right and bottom.
padding:
none or dictionary
Padding values