A triangle is a closed plane figure defined by the three edges that connect three vertices. The entire triangle can have a set of attributes, and any or all of the three vertices can also have a set of attributes. A triangle is defined by the TQ3TriangleData data type. See "Creating and Editing Triangles" for a description of the routines you can use to create and edit triangles. Figure 21 shows a triangle.
typedef struct TQ3TriangleData {
TQ3Vertex3D vertices[3];
TQ3AttributeSet triangleAttributeSet;
} TQ3TriangleData;