Q3Mesh_GetNumEdges
You can use theQ3Mesh_GetNumEdgesfunction to determine the number of edges of a mesh.
TQ3Status Q3Mesh_GetNumEdges ( TQ3GeometryObject mesh, unsigned long *numEdges);
mesh- A mesh.
numEdges- On exit, the number of edges in the specified mesh.
DESCRIPTION
TheQ3Mesh_GetNumEdgesfunction returns, in thenumEdgesparameter, the number of edges in the mesh specified by themeshparameter.