20 Managing Bounding Boxes

20 Q3BoundingBox_Set

You can use the 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).

DESCRIPTION


The 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.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker