diff --git a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Check_exact.h b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Check_exact.h new file mode 100644 index 00000000000..7c5f984d9e6 --- /dev/null +++ b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Check_exact.h @@ -0,0 +1,40 @@ +#ifndef CGAL_SEGMENT_DELAUNAY_GRAPH_2_CHECK_EXACT +#define CGAL_SEGMENT_DELAUNAY_GRAPH_2_CHECK_EXACT 1 + +#include + +CGAL_BEGIN_NAMESPACE + +CGAL_SEGMENT_DELAUNAY_GRAPH_2_BEGIN_NAMESPACE + +#ifdef CGAL_PROFILE + +template +struct Check_exact { + bool operator()() const { return true; } +}; + +template<> +struct Check_exact { + bool operator()() const { return false; } +}; + +template<> +struct Check_exact { + bool operator()() const { return false; } +}; + +template +struct Check_exact< Interval_nt > { + bool operator()() const { return false; } +}; + +#endif + + +CGAL_SEGMENT_DELAUNAY_GRAPH_2_END_NAMESPACE + +CGAL_END_NAMESPACE + + +#endif // CGAL_SEGMENT_DELAUNAY_GRAPH_2_CHECK_EXACT