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 Tue, 07/25/2006 - 18:39
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.
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.
Tue, 07/25/2006 - 18:39
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.
Tue, 07/25/2006 - 19:53
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.