Bounding in a View
As you've seen (in the chapters "Geometric Objects" and "Group Objects"), QuickDraw 3D 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. QuickDraw 3D provides routines that you must call before and after computing an object's bounds.QuickDraw 3D 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.
Subtopics
- Q3View_StartBoundingBox
- Q3View_EndBoundingBox
- Q3View_StartBoundingSphere
- Q3View_EndBoundingSphere
- Q3View_IsBoundingBoxVisible
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help