mirror of https://github.com/CGAL/cgal
Linf hierarchy: include L2 hier., remove constants
This change allows to use both hierarchies at the same time. Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
This commit is contained in:
parent
a71e948e4b
commit
fac1837664
|
|
@ -37,26 +37,13 @@
|
|||
#include <CGAL/Segment_Delaunay_graph_hierarchy_vertex_base_2.h>
|
||||
#include <CGAL/Segment_Delaunay_graph_face_base_2.h>
|
||||
|
||||
#include <CGAL/Segment_Delaunay_graph_hierarchy_2.h>
|
||||
|
||||
namespace CGAL {
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
// parameterization of the hierarchy
|
||||
#ifdef CGAL_SDG_HIERARCHY_DEMO
|
||||
const unsigned int sdg_hierarchy_2__ratio = 3;
|
||||
const unsigned int sdg_hierarchy_2__minsize = 5;
|
||||
#else
|
||||
const unsigned int sdg_hierarchy_2__ratio = 30;
|
||||
const unsigned int sdg_hierarchy_2__minsize = 20;
|
||||
#endif
|
||||
const unsigned int sdg_hierarchy_2__maxlevel = 5;
|
||||
// maximal number of points is 30^5 = 24 millions !
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
template < class Gt,
|
||||
class ST = Segment_Delaunay_graph_storage_traits_2<Gt>,
|
||||
class STag = Tag_false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue