Triangulation node mapping

Hello all,

suppose I used BRepMesh::Mesh(aShape, deflection) to add a surface triangulation to a shape. Then I can retrieve the nodes of the triangulation from the individual TopoDS_Faces comprising the TopoDS_Shape aShape. What I'd like to have now is a "global" triangulation, i. e. one that does not care about triangulation of the individual faces comprising the shape, but rather one that considers the entire surface of the shape as one. My Problem is now the mapping of the common nodes of adjacent faces to nodes in the global triangulation.

Does anyone have any idea? Does OCC offer such functionality?

Regards and thanks in advance,


Patrik Mueller's picture


how about traversing the shape faces and collect the triangulation results in a common structure like a map?