Q3Geometry_GetType
You can use theQ3Geometry_GetTypefunction to get the type of a geometric object.
TQ3ObjectType Q3Geometry_GetType (TQ3GeometryObject geometry);
geometry- A geometric object.
DESCRIPTION
TheQ3Geometry_GetTypefunction returns, as its function result, the type of the geometric object specified by thegeometryparameter. The types of geometric objects currently supported by QuickDraw 3D are defined by these constants:
kQ3GeometryTypeBox kQ3GeometryTypeGeneralPolygon kQ3GeometryTypeLine kQ3GeometryTypeMarker kQ3GeometryTypeMesh kQ3GeometryTypeNURBCurve kQ3GeometryTypeNURBPatch kQ3GeometryTypePoint kQ3GeometryTypePolygon kQ3GeometryTypePolyLine kQ3GeometryTypeTriangle kQ3GeometryTypeTriGridIf the specified geometric object is invalid or is not one of these types,Q3Geometry_GetTypereturns the valuekQ3ObjectTypeInvalid.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help