Use non caching segment traits to accelerate arrangement computations

This commit is contained in:
Mael Rouxel-Labbé 2016-12-21 11:28:11 +01:00
parent 9eda87b089
commit ad36f6ea35
2 changed files with 5 additions and 3 deletions

View File

@ -10,10 +10,12 @@
#include <CGAL/Surface_mesh_parameterization/internal/Containers_filler.h>
#include <CGAL/Surface_mesh_parameterization/internal/kernel_traits.h>
#include <CGAL/Surface_mesh_parameterization/internal/shortest_path.h>
#include <CGAL/Surface_mesh_parameterization/Orbital_Tutte_parameterizer_3.h>
#include <CGAL/Surface_mesh_parameterization/Orbital_Tutte_sphere_mapping.h>
#include <CGAL/Arr_non_caching_segment_traits_2.h>
#include <CGAL/Arr_segment_traits_2.h>
#include <CGAL/Arrangement_2.h>
#include <CGAL/Polygon_mesh_processing/connected_components.h>
#include <CGAL/Polygon_mesh_processing/measure.h>
#include <CGAL/boost/graph/properties.h>
@ -229,7 +231,8 @@ int main(int argc, char * argv[])
// *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
typedef CGAL::Exact_predicates_exact_constructions_kernel Exact_kernel;
typedef CGAL::Arr_segment_traits_2<Exact_kernel> Traits_2;
// typedef CGAL::Arr_segment_traits_2<Exact_kernel> Traits_2;
typedef CGAL::Arr_non_caching_segment_traits_2<Exact_kernel> Traits_2;
typedef CGAL::Arrangement_2<Traits_2> Arrangement_2;
typedef SMP::Orbifold_sphere_mapper<Arrangement_2, Embedded_mesh> Orb_sphere_mapper;

View File

@ -25,7 +25,6 @@
#include <CGAL/Surface_mesh_parameterization/internal/kernel_traits.h>
#include <CGAL/Arr_default_overlay_traits.h>
#include <CGAL/Arr_segment_traits_2.h>
#include <CGAL/Arrangement_2.h>
#include <CGAL/Arr_overlay_2.h>
#include <CGAL/Cartesian_converter.h>