warp.geometry.OBBMeasureType#
- class warp.geometry.OBBMeasureType[source]#
Objective minimized when searching for an oriented bounding box.
IntEnummembers are integers, so a value can be passed straight into a kernel launch (Warp kernels cannot take astrparameter).Attributes
Minimize the volume of the bounding box.
Minimize the surface area of the bounding box.
Minimize the mean width of the bounding box, which is half the sum of its side lengths.
- VOLUME = 0#
Minimize the volume of the bounding box.
- SURFACE_AREA = 1#
Minimize the surface area of the bounding box.
- MEAN_WIDTH = 2#
Minimize the mean width of the bounding box, which is half the sum of its side lengths.