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() -> aabb
Compute an axis aligned bounding box (aabb) for a list of vectors.
mid
mid() -> vector
Get the mid-point of an AABB as vector.
size
size() -> vector
Get the size of an aabb as vector. This is a vector from the aabb's low to high.
padded
padded() -> aabb
Pad AABB with padding from dictionary with keys top, left, right and bottom.
padding:
none or dictionary
Padding values