add other surface mesh overloads

This commit is contained in:
Sébastien Loriot 2024-05-24 14:34:32 +02:00
parent 9c2224620d
commit 5bb8ae63a1
1 changed files with 21 additions and 0 deletions

View File

@ -2812,6 +2812,27 @@ exact_num_faces(const CGAL::Surface_mesh<P>& sm)
return sm.number_of_faces();
}
template <typename P>
std::size_t
exact_num_edges(const CGAL::Surface_mesh<P>& sm)
{
return sm.number_of_edges();
}
template <typename P>
std::size_t
exact_num_halfedges(const CGAL::Surface_mesh<P>& sm)
{
return sm.number_of_halfedges();
}
template <typename P>
std::size_t
exact_num_vertices(const CGAL::Surface_mesh<P>& sm)
{
return sm.number_of_vertices();
}
} // namespace internal
} // namespace CGAL