13 Bounding in a View

13 Q3View_IsBoundingBoxVisible

You can use the Q3View_IsBoundingBoxVisible function to determine whether a bounding box is visible in a view (that is, whether it lies in the viewing frustum).

TQ3Boolean Q3View_IsBoundingBoxVisible (
TQ3ViewObject view, 
const TQ3BoundingBox *bbox);
view A view.
bbox A bounding box.

DESCRIPTION


The Q3View_IsBoundingBoxVisible function returns, as its function result, a Boolean value that indicates whether the bounding box specified by the bbox parameter is visible in the view specified by the view parameter (kQ3True) or is not visible (kQ3False). Q3View_IsBoundingBoxVisible transforms the specified bounding box by the view's local-to-world transform and then determines whether the box lies in the viewing frustum.

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