4 Creating and Editing Triangles

4 Q3Triangle_GetData

You can use the Q3Triangle_GetData function to get the data that defines a triangle and its attributes.

TQ3Status Q3Triangle_GetData (
TQ3GeometryObject triangle, 
TQ3TriangleData *triangleData);
triangle A triangle.
triangleData On exit, a pointer to a TQ3TriangleData structure that contains information about the triangle specified by the triangle parameter.

DESCRIPTION


The Q3Triangle_GetData function returns, through the triangleData parameter, information about the triangle specified by the triangle parameter. QuickDraw3D allocates memory for the TQ3TriangleData structure internally; you must call Q3Triangle_EmptyData to dispose of that memory.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker