4 Managing Geometric Objects
Q3Geometry_GetType
function to get the type of a geometric object.
TQ3ObjectType Q3Geometry_GetType (TQ3GeometryObject geometry);
geometry
A geometric object.
Q3Geometry_GetType
function returns, as its function result, the type of the geometric object specified by the geometry
parameter. The types of geometric objects currently supported by QuickDraw3D 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_GetType
returns the value kQ3ObjectTypeInvalid
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker