For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Accessing Poly_Triangulation for Shape after BRepMesh_IncrementalMesh

James Mathieson's picture

I am migrating from an older version to 7.4.0. My prior version code loads a TopoDS_Shape from STEP, performs BRepMesh_IncrementalMesh and then used STLMesh to iterate over triangles, mapping g_Pnts and implied edges into an adjacency graph.

I can understand how to do this mapping with a Poly_Triangulation object. However, I can't seem to find anywhere in the documentation how to get the Poly_Triangulation handle of the TopoDS_Shape to get the process started.

What am I missing?

Forum supervisor's picture

Hello James,


Poly_Triangulation objects are stored in TopoDS_Face objects that are nodes of the complete graph of topological entities that describes TopoDS_Shape object.

So you need to extract faces from your shape and retrieve triangulation from each of them.


If you wish to use our professional assistance in your development, please, consider our support services.

For further information and advice, please, do not hesitate to contact us!


Best regards,

Forum supervisor

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.