Stores a generic 2D bounding box. More...
#include <vpi/Types.h>
Collaboration diagram for VPIBoundingBox:Data Fields | |
| VPIHomographyTransform2D | xform |
| Defines the bounding box top left corner and its homography. | |
| float | width |
| Bounding box width. | |
| float | height |
| Bounding box height. | |
Stores a generic 2D bounding box.
Although this structure can store a 2D bounding box transformed by any homography, most of the time it stores an axis-aligned bounding box. To retrieve it, do the following: