how can i do using CGAl, Delaunay triangulation of polygon (simple without hole and in cw order) and get a list of the neighbors of triangles for any triangle that generated from the Delaunay triangulation?
0
votes
2 Answers
1
votes
Look at the example in the User Manual: http://doc.cgal.org/latest/Triangulation_2/index.html#title29
You must distinguish between faces in and outside of the polygon.
When you have a face handle you can get the three neighbor faces with the function neighbor(i) for i = 0, 1, and 2
See: http://doc.cgal.org/latest/TDS_2/classTriangulationDSFaceBase__2.html