13 Bounding in a View
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.
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.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker