Q3Mesh_GetEdgeFaces
You can use the Q3Mesh_GetEdgeFaces function to get the faces that share a mesh edge.
TQ3Status Q3Mesh_GetEdgeFaces (
TQ3GeometryObject mesh,
TQ3MeshEdge edge,
TQ3MeshFace *face1,
TQ3MeshFace *face2);
mesh
- A mesh.
edge
- A mesh edge.
face1
- On exit, the first mesh face that shares the specified mesh edge.
face2
- On exit, the second mesh face that shares the specified mesh edge.
DESCRIPTION
The Q3Mesh_GetEdgeFaces function returns, in the face1 and face2 parameters, the two mesh faces that shares the mesh edge specified by the mesh and edge parameters. If the edge lies on the boundary of the mesh, either face1 or face2 is NULL.