Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Triangles


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. QuickDraw 3D allocates memory for the TQ3TriangleData structure internally; you must call Q3Triangle_EmptyData to dispose of that memory.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help