tri_xy | R Documentation |
tri_xy
CGAL vertex index
This method uses a vertex iterator instead of a faces iterator.
This is the long-hand way, using an iteration over all faces, checking whether they are finite or not, and accessing the face.vertex info by dereferencing pointers to each vertex of the face.
tri_xy(x, y) tri_xy1(x, y) tri_xy2(x, y)
x |
coordinate vector |
y |
coordinate vector |
First method uses uses a faces iterator to extract the vertex->info for each face. A Delaunay triangulation has both finite and infinite faces (see CGAL documentation). The infinite faces join to an external, infinite vertex, so the finite_faces_iterator just includes the internal faces.
vertex index
triangle index, 1-based
triangle index, 1-based
triangle index, 1-based
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.