mirror of https://github.com/CGAL/cgal
Merge pull request #4651 from sloriot/SDGs-use_EFS
Use Exact_field_selector
This commit is contained in:
commit
da178497c7
|
|
@ -36,12 +36,7 @@
|
||||||
#include <CGAL/Segment_Delaunay_graph_2/Filtered_traits_concept_check_tags.h>
|
#include <CGAL/Segment_Delaunay_graph_2/Filtered_traits_concept_check_tags.h>
|
||||||
|
|
||||||
// includes for the default parameters of the filtered traits
|
// includes for the default parameters of the filtered traits
|
||||||
#ifdef CGAL_USE_GMP
|
#include <CGAL/internal/Exact_type_selector.h>
|
||||||
#include <CGAL/Gmpq.h>
|
|
||||||
#else
|
|
||||||
#include <CGAL/Quotient.h>
|
|
||||||
#include <CGAL/MP_Float.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <CGAL/Simple_cartesian.h>
|
#include <CGAL/Simple_cartesian.h>
|
||||||
#include <CGAL/Interval_arithmetic.h>
|
#include <CGAL/Interval_arithmetic.h>
|
||||||
|
|
@ -65,11 +60,7 @@ namespace CGAL {
|
||||||
// this traits class does support intersecting segments
|
// this traits class does support intersecting segments
|
||||||
template<class CK,
|
template<class CK,
|
||||||
class CK_MTag = Field_with_sqrt_tag,
|
class CK_MTag = Field_with_sqrt_tag,
|
||||||
#ifdef CGAL_USE_GMP
|
class EK = Simple_cartesian< internal::Exact_field_selector<double>::Type >,
|
||||||
class EK = Simple_cartesian< Gmpq >,
|
|
||||||
#else
|
|
||||||
class EK = Simple_cartesian< Quotient<MP_Float> >,
|
|
||||||
#endif
|
|
||||||
class EK_MTag = Field_tag,
|
class EK_MTag = Field_tag,
|
||||||
class FK = Simple_cartesian< Interval_nt<false> >,
|
class FK = Simple_cartesian< Interval_nt<false> >,
|
||||||
class FK_MTag = Field_with_sqrt_tag,
|
class FK_MTag = Field_with_sqrt_tag,
|
||||||
|
|
|
||||||
|
|
@ -33,12 +33,8 @@
|
||||||
#include <CGAL/Segment_Delaunay_graph_2/Filtered_traits_concept_check_tags.h>
|
#include <CGAL/Segment_Delaunay_graph_2/Filtered_traits_concept_check_tags.h>
|
||||||
|
|
||||||
// includes for the default parameters of the filtered traits
|
// includes for the default parameters of the filtered traits
|
||||||
#ifdef CGAL_USE_GMP
|
#include <CGAL/internal/Exact_type_selector.h>
|
||||||
#include <CGAL/Gmpq.h>
|
|
||||||
#else
|
|
||||||
#include <CGAL/Quotient.h>
|
|
||||||
#include <CGAL/MP_Float.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <CGAL/Simple_cartesian.h>
|
#include <CGAL/Simple_cartesian.h>
|
||||||
#include <CGAL/Interval_arithmetic.h>
|
#include <CGAL/Interval_arithmetic.h>
|
||||||
|
|
@ -62,11 +58,7 @@ namespace CGAL {
|
||||||
// this traits class does support intersecting segments
|
// this traits class does support intersecting segments
|
||||||
template<class CK,
|
template<class CK,
|
||||||
class CK_MTag = Field_with_sqrt_tag,
|
class CK_MTag = Field_with_sqrt_tag,
|
||||||
#ifdef CGAL_USE_GMP
|
class EK = Simple_cartesian< internal::Exact_field_selector<double>::Type >,
|
||||||
class EK = Simple_cartesian< Gmpq >,
|
|
||||||
#else
|
|
||||||
class EK = Simple_cartesian< Quotient<MP_Float> >,
|
|
||||||
#endif
|
|
||||||
class EK_MTag = Field_tag,
|
class EK_MTag = Field_tag,
|
||||||
class FK = Simple_cartesian< Interval_nt<false> >,
|
class FK = Simple_cartesian< Interval_nt<false> >,
|
||||||
class FK_MTag = Field_with_sqrt_tag,
|
class FK_MTag = Field_with_sqrt_tag,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue