typedef instead of derivation for definition of K

This commit is contained in:
Andreas Fabri 2008-07-07 13:45:57 +00:00
parent e9b2fc964a
commit 51e6e8f56d
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
#include <list>
#include <cassert>
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Alpha_shape_vertex_base_3<K> Vb;
typedef CGAL::Alpha_shape_cell_base_3<K> Fb;

View File

@ -7,7 +7,7 @@
#include <list>
#include <cassert>
struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Alpha_shape_vertex_base_3<K> Vb;
typedef CGAL::Triangulation_hierarchy_vertex_base_3<Vb> Vbh;