find the neighbor triangle

Any question about other libraries used in this project
Post Reply
snfge
Posts: 72
Joined: Thu Nov 20, 2014 4:12 am

find the neighbor triangle

Post by snfge »

Hi
I want to konw how many triangles in one model, find the neighbor triangle and find the vertex coordinate of triangle, which file I can find the functions? thank you.
daniel
Site Admin
Posts: 7332
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: find the neighbor triangle

Post by daniel »

The first and last steps are easy (see the ccGenericMesh and ccMesh classes).

The second one is harder. We don't maintain any advanced topology structure on meshes (as we don't use any). So you''ll have to build it yourself. I believe there's a quality testing method in ccMesh that does something similar
Daniel, CloudCompare admin
Post Reply