use Robust_circumcenter_traits_3<K> by default, in

Surface_mesh_default_triangulation_3
This commit is contained in:
Laurent Rineau 2006-08-10 16:10:58 +00:00
parent fa0c4fdb11
commit 007eeef2a7
2 changed files with 9 additions and 5 deletions

View File

@ -7,6 +7,8 @@
- merge parameters.* with the Mesh_3 version,
- use <CGAL/Surface_mesh_default_triangulation_3.h>
- new polyhedron_remesher.cpp
- use Robust_circumcenter_traits_3<K> by default, in
Surface_mesh_default_triangulation_3
9 August 2006 Laurent Rineau
- documentation of Surface_mesh_default_triangulation_3

View File

@ -22,6 +22,7 @@
// traits class
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Robust_circumcenter_traits_3.h>
// Delaunay
#include <CGAL/Delaunay_triangulation_3.h>
@ -36,15 +37,16 @@ namespace CGAL {
class Surface_mesh_default_triangulation_3_generator {
// traits class
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef Exact_predicates_inexact_constructions_kernel K2;
typedef Robust_circumcenter_traits_3<K2> K;
// vertex and cell types
typedef CGAL::Surface_mesh_vertex_base_3<K> Vb;
typedef CGAL::Surface_mesh_cell_base_3<K> Cb;
typedef Surface_mesh_vertex_base_3<K> Vb;
typedef Surface_mesh_cell_base_3<K> Cb;
// triangulation
typedef CGAL::Triangulation_data_structure_3<Vb, Cb> Tds;
typedef CGAL::Delaunay_triangulation_3<K, Tds> Tr;
typedef Triangulation_data_structure_3<Vb, Cb> Tds;
typedef Delaunay_triangulation_3<K, Tds> Tr;
public:
// result type