rtgs.bounding_box
¶
Module Contents¶
Classes¶
Bounding box struct in Taichi. |
API¶
- class rtgs.bounding_box.Bound¶
Bounding box struct in Taichi.
- Parameters:
p_min – minimum point of the bounding box.
p_max – maximum point of the bounding box.
- p_min: taichi.math.vec3 = None¶
- p_max: taichi.math.vec3 = None¶
- init(p_min=ti.math.vec3(ti.math.inf), p_max=ti.math.vec3(-ti.math.inf))¶
- get_centroid()¶
- size()¶
- area()¶
- area_py()¶
- union(box)¶