About toolkit TKMesh.

Hi,
There are only a little information about toolkit TKMesh in OpenCasCade documents. Could anybody give some documents or examples about TKMesh.
Thanks.

Rob Bachrach's picture

Look at the "Triangulation" sample shipped with OCC. It shows how to use BRepMesh to mesh a shape and how to use BRep_Tool to get the resulting triangulation from the faces.

白晓亮(Bai Xiaolian's picture

Thanks, I had read the sample sometime. The BrepMesh::mesh() function could be used to tessellate TopoDS_Face.

Sames TKMesh toolkits could manipulate triangulate mesh directly.

I have raw data of trianguar mesh, and want to import and manipulate it with my algorithum. The algorithum requires any edges or triangles associated with a vertex could be finded easily with only the vertex known in advance.