mirror of https://github.com/CGAL/cgal
Surface_mesh: Add exact_num_faces(const SM&)
This commit is contained in:
parent
7838cde63b
commit
9c2224620d
|
|
@ -26,6 +26,7 @@
|
||||||
#include <CGAL/boost/graph/Euler_operations.h>
|
#include <CGAL/boost/graph/Euler_operations.h>
|
||||||
#include <CGAL/boost/graph/iterator.h>
|
#include <CGAL/boost/graph/iterator.h>
|
||||||
#include <CGAL/boost/graph/named_params_helper.h>
|
#include <CGAL/boost/graph/named_params_helper.h>
|
||||||
|
#include <CGAL/boost/graph/internal/helpers.h>
|
||||||
#include <CGAL/Named_function_parameters.h>
|
#include <CGAL/Named_function_parameters.h>
|
||||||
#include <CGAL/circulator.h>
|
#include <CGAL/circulator.h>
|
||||||
#include <CGAL/Handle_hash_function.h>
|
#include <CGAL/Handle_hash_function.h>
|
||||||
|
|
@ -2802,6 +2803,16 @@ namespace internal{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace internal {
|
||||||
|
|
||||||
|
template <typename P>
|
||||||
|
std::size_t
|
||||||
|
exact_num_faces(const CGAL::Surface_mesh<P>& sm)
|
||||||
|
{
|
||||||
|
return sm.number_of_faces();
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace internal
|
||||||
} // namespace CGAL
|
} // namespace CGAL
|
||||||
|
|
||||||
#ifndef DOXYGEN_RUNNING
|
#ifndef DOXYGEN_RUNNING
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue