Q3BoundingSphere_Set
You can use theQ3BoundingSphere_Setfunction to set the defining origin and radius of a bounding sphere.
TQ3BoundingSphere *Q3BoundingSphere_Set ( TQ3BoundingSphere *bSphere, const TQ3Point3D *origin, float radius, TQ3Boolean isEmpty);
bSphere- A pointer to a bounding sphere.
origin- A pointer to a three-dimensional point.
radius- A floating-point value that specifies the desired radius of the bounding sphere.
isEmpty- A Boolean value that indicates whether the specified bounding sphere is empty (
kQ3True) or not (kQ3False).DESCRIPTION
TheQ3BoundingSphere_Setfunction assigns the valuesoriginandradiusto theoriginandradiusfields of the bounding sphere specified by thebSphereparameter.Q3BoundingSphere_Setalso assigns the value of theisEmptyparameter to theisEmptyfield of the bounding sphere.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help