mirror of https://github.com/CGAL/cgal
Make the Surface_mesh_default_triangulation_3_generator a template class
This commit is contained in:
parent
01dda382bc
commit
33299988a1
|
|
@ -35,10 +35,10 @@
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
namespace Surface_mesher {
|
namespace Surface_mesher {
|
||||||
|
|
||||||
|
template <typename K2 = Exact_predicates_inexact_constructions_kernel>
|
||||||
class Surface_mesh_default_triangulation_3_generator {
|
class Surface_mesh_default_triangulation_3_generator {
|
||||||
|
|
||||||
// traits class
|
// traits class
|
||||||
typedef Exact_predicates_inexact_constructions_kernel K2;
|
|
||||||
typedef Robust_circumcenter_traits_3<K2> K;
|
typedef Robust_circumcenter_traits_3<K2> K;
|
||||||
|
|
||||||
// vertex and cell types
|
// vertex and cell types
|
||||||
|
|
@ -59,7 +59,7 @@ namespace CGAL {
|
||||||
|
|
||||||
} // end Surface_mesher
|
} // end Surface_mesher
|
||||||
|
|
||||||
typedef Surface_mesher::Surface_mesh_default_triangulation_3_generator::Type
|
typedef Surface_mesher::Surface_mesh_default_triangulation_3_generator<>::Type
|
||||||
Surface_mesh_default_triangulation_3;
|
Surface_mesh_default_triangulation_3;
|
||||||
|
|
||||||
} // end namespace CGAL
|
} // end namespace CGAL
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue