42 explicit Triangulation(std::vector<std::vector<std::size_t>> neighbors) : mNeighbors(std::move(neighbors))
54 return mNeighbors.size();
70 std::vector<std::vector<std::size_t>> mNeighbors;
Triangulation(std::vector< std::vector< std::size_t >> neighbors)
Constructor of Triangulation.
const std::vector< std::size_t > & getNeighbors(std::size_t i) const
Get the neighbors of a vertex.
std::size_t getNbVertices() const
Get the number of vertices.
Data structure representing a triangulation.