tri_xy: CGAL point triangulation (unconstrained)

View source: R/tri_xy.R

tri_xyR Documentation

CGAL point triangulation (unconstrained)

Description

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.

Usage

tri_xy(x, y)

tri_xy1(x, y)

tri_xy2(x, y)

Arguments

x

coordinate vector

y

coordinate vector

Details

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

Value

triangle index, 1-based

triangle index, 1-based

triangle index, 1-based


r-gris/cgalgris documentation built on Nov. 5, 2022, 8:02 p.m.