DiscussionsIssue archiveOther usage issues

Archived discussion

About toolkit TKMesh.

Other usage issuesTue, 07/25/2006 - 18:302 replies

Browse this forum
QuestionAuthor

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

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

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.

02Author

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.