20 Managing Bounding Boxes
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 boxesv1
andv2
.
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.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker