Mesh Boundary & ON_MeshNgon

Hi guys,

I have searched the docs for the ON_MeshNgon class, I can’t find the clear explanation for it. Could anyone please pass me the docs about this class? what is it about?

another question I have is:
I have an mesh object or mesh objects. I want to get the boundaries of the mesh object. Say, if mesh object has 3 holes, then I should get the outer boundary and the three inner boundaries. Is there a tool for it?

Thank you
Regards
Eric

Moved to Developer category so the message will be seen.

Have you looked at this documentation:
https://developer.rhino3d.com/api/cpp/class_o_n___mesh_ngon.html

For the mesh you want to find all the naked edges. These are mesh faces with one edge not shared with another face. The unshared edge is called a naked edge. For help with finding these and making a boundary out of them, look at the discussion in this old post:

Regards,
Terry.

thank you very much.