20 Managing Bounding Boxes
Q3BoundingBox_Set
function to set the defining points of a bounding box.
TQ3BoundingBox *Q3BoundingBox_Set ( TQ3BoundingBox *bBox, const TQ3Point3D *min, const TQ3Point3D *max, TQ3Boolean isEmpty);bBox
A pointer to a bounding box.min
A pointer to a three-dimensional point.max
A pointer to a three-dimensional point.isEmpty
A Boolean value that indicates whether the specified bounding box is empty (kQ3True
) or not (kQ3False
).
Q3BoundingBox_Set
function assigns the values min
and max
to the min
and max
fields of the bounding box specified by the bBox
parameter. Q3BoundingBox_Set
also assigns the value of the isEmpty
parameter to the isEmpty
field of the bounding box.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker