

13 View Objects Routines
13 Bounding in a View
As you've seen (in the chapters "Geometric Objects" and "Group Objects"), QuickDraw3D provides routines that you can use to compute the bounding box and bounding sphere of an object or a group of objects in a model. Computing an object's bounding box or bounding sphere requires applying to it all the transforms in the current view transform stack. QuickDraw3D provides routines that you must call before and after computing an object's bounds.
QuickDraw3D also provides a routine that you can use to determine whether a bounding box is visible in a view. You might use that routine to avoid specifying portions of a model that aren't visible.
- 13 - Q3View_StartBoundingBox
-
- 13 - Q3View_EndBoundingBox
-
- 13 - Q3View_StartBoundingSphere
-
- 13 - Q3View_EndBoundingSphere
-
- 13 - Q3View_IsBoundingBoxVisible
-
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