-
Notifications
You must be signed in to change notification settings - Fork 1
libigl
libigl is the mesh processing library of the Interactive Geometry Lab from ETH Zürich.
Its design principle are
- header-only
- the use of Eigen matrices to store everything, no complex data types
- minimal dependencies
- each function has a dedicated .h/.cpp pair of the same name
to complete their documentation.
A nb_vertices by 3 matrix of double
. Each row i represent a vertex with its
A nb_faces by 3 matrix of int
. Each row i represent a face, with the vertices index at the 3 corners
A nb_faces by 3 matrix of int
. At (i,local_edge) is the face index of the neighbor of face i on its local_edge. i
A nb_faces by 3 matrix of int
. At (i,local_edge) is the local edge of face TT(i,local_edge) to go back to face i. i
A nb_edges (= nb_faces int
. At row i + nb_faces
A nb_uedges = nb_edges/2 by 2 matrix of int
. The two columns are for vertex indices.
A nb_edges vector of int
such that EMAP(i + nb_faces
nb_uedges vectors of size-2 vectors. Each value is directed edge (a row number of E).
I didn't use them but may be useful
I didn't use them but may be useful
VF[v][n] is the n-th neighbor of vertex v. The face at a given row (a given vertex) are sorted by ascending index order.
VFi[v][n] is the corner of VF[v][n] where v is.