Q3BoundingBox_Union
You can use the Q3BoundingBox_Union function to find the union of two bounding boxes.
TQ3BoundingBox *Q3BoundingBox_Union (
const TQ3BoundingBox *v1,
const TQ3BoundingBox *v2,
TQ3BoundingBox *result);
v1
- A pointer to a bounding box.
v2
- A pointer to a bounding box.
result
- On exit, a pointer to the union of the bounding boxes
v1 and v2.
DESCRIPTION
The Q3BoundingBox_Union function returns, as its function result and in the result parameter, a pointer to the bounding box that is the union of the two bounding boxes specified by the parameters v1 and v2. The result parameter can point to the memory occupied by either v1 or v2, thereby performing the union operation in place.