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 Meshes


Q3Mesh_FaceToContour

You can use the Q3Mesh_FaceToContour function to convert a face of a mesh into a contour. The contour is then attached to another mesh face as a hole.

TQ3MeshContour Q3Mesh_FaceToContour (
TQ3GeometryObject mesh, 
TQ3MeshFace containerFace, 
TQ3MeshFace face);
mesh
A mesh.
containerFace
The mesh face that is to contain the new contour.
face
The mesh face that is to be converted into a contour. On exit, this face is no longer a valid object.
DESCRIPTION
The Q3Mesh_FaceToContour function returns, as its function result, a new contour created from the mesh face specified by the mesh and face parameters. The new contour is contained in the mesh face specified by the mesh and containerFace parameters. If a new contour could not be created, Q3Mesh_FaceToContour returns the value NULL.

IMPORTANT
Q3Mesh_FaceToContour destroys any attributes associated with the face specified by the face parameter.

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