MyGAL
|
Data structure representing a triangulation. More...
#include <Triangulation.h>
Public Member Functions | |
Triangulation (std::vector< std::vector< std::size_t >> neighbors) | |
Constructor of Triangulation. More... | |
std::size_t | getNbVertices () const |
Get the number of vertices. More... | |
const std::vector< std::size_t > & | getNeighbors (std::size_t i) const |
Get the neighbors of a vertex. More... | |
Data structure representing a triangulation.
Definition at line 34 of file Triangulation.h.
|
inlineexplicit |
Constructor of Triangulation.
neighbors | Neighbors for each vertex of the triangulation |
Definition at line 42 of file Triangulation.h.
|
inline |
Get the number of vertices.
Definition at line 52 of file Triangulation.h.
|
inline |
Get the neighbors of a vertex.
i | Index of the vertex |
i
Definition at line 64 of file Triangulation.h.