mirror of https://github.com/CGAL/cgal
CGAL: Do not include basic.h in examples
This commit is contained in:
parent
18f0405065
commit
c716539b2a
|
|
@ -14,7 +14,6 @@ int main ()
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arrangement_2.h>
|
#include <CGAL/Arrangement_2.h>
|
||||||
#include <CGAL/Arr_algebraic_segment_traits_2.h>
|
#include <CGAL/Arr_algebraic_segment_traits_2.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ int main ()
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arrangement_2.h>
|
#include <CGAL/Arrangement_2.h>
|
||||||
#include <CGAL/Arr_algebraic_segment_traits_2.h>
|
#include <CGAL/Arr_algebraic_segment_traits_2.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_batched_point_location.h>
|
#include <CGAL/Arr_batched_point_location.h>
|
||||||
|
|
||||||
#include "arr_inexact_construction_segments.h"
|
#include "arr_inexact_construction_segments.h"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_vertical_decomposition_2.h>
|
#include <CGAL/Arr_vertical_decomposition_2.h>
|
||||||
|
|
||||||
#include "arr_exact_construction_segments.h"
|
#include "arr_exact_construction_segments.h"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
#ifdef CGAL_USE_CORE
|
#ifdef CGAL_USE_CORE
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_naive_point_location.h>
|
#include <CGAL/Arr_naive_point_location.h>
|
||||||
|
|
||||||
#include "arr_conics.h"
|
#include "arr_conics.h"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
// Associating a color attribute with segments using the consolidated
|
// Associating a color attribute with segments using the consolidated
|
||||||
// curve-data traits.
|
// curve-data traits.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_consolidated_curve_data_traits_2.h>
|
#include <CGAL/Arr_consolidated_curve_data_traits_2.h>
|
||||||
|
|
||||||
#include "arr_exact_construction_segments.h"
|
#include "arr_exact_construction_segments.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/curve_history.cpp
|
//! \file examples/Arrangement_on_surface_2/curve_history.cpp
|
||||||
// Constructing an arrangement with curve history.
|
// Constructing an arrangement with curve history.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arrangement_with_history_2.h>
|
#include <CGAL/Arrangement_with_history_2.h>
|
||||||
#include <CGAL/Arr_trapezoid_ric_point_location.h>
|
#include <CGAL/Arr_trapezoid_ric_point_location.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/dcel_extension.cpp
|
//! \file examples/Arrangement_on_surface_2/dcel_extension.cpp
|
||||||
// Extending all DCEL records (vertices, edges and faces).
|
// Extending all DCEL records (vertices, edges and faces).
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_extended_dcel.h>
|
#include <CGAL/Arr_extended_dcel.h>
|
||||||
|
|
||||||
#include "arr_exact_construction_segments.h"
|
#include "arr_exact_construction_segments.h"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_extended_dcel.h>
|
#include <CGAL/Arr_extended_dcel.h>
|
||||||
#include <CGAL/IO/Arr_iostream.h>
|
#include <CGAL/IO/Arr_iostream.h>
|
||||||
#include <CGAL/IO/Arr_text_formatter.h>
|
#include <CGAL/IO/Arr_text_formatter.h>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_curve_data_traits_2.h>
|
#include <CGAL/Arr_curve_data_traits_2.h>
|
||||||
|
|
||||||
#include "arr_linear.h"
|
#include "arr_linear.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/edge_manipulation_curve_history.cpp
|
//! \file examples/Arrangement_on_surface_2/edge_manipulation_curve_history.cpp
|
||||||
// Removing curves and manipulating edges in an arrangement with history.
|
// Removing curves and manipulating edges in an arrangement with history.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arrangement_with_history_2.h>
|
#include <CGAL/Arrangement_with_history_2.h>
|
||||||
#include <CGAL/Arr_walk_along_line_point_location.h>
|
#include <CGAL/Arr_walk_along_line_point_location.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
#ifdef CGAL_USE_CORE
|
#ifdef CGAL_USE_CORE
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/draw_arrangement_2.h>
|
#include <CGAL/draw_arrangement_2.h>
|
||||||
|
|
||||||
#include "arr_conics.h"
|
#include "arr_conics.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/face_extension.cpp
|
//! \file examples/Arrangement_on_surface_2/face_extension.cpp
|
||||||
// Extending the arrangement-face records.
|
// Extending the arrangement-face records.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_extended_dcel.h>
|
#include <CGAL/Arr_extended_dcel.h>
|
||||||
#include <CGAL/Arr_observer.h>
|
#include <CGAL/Arr_observer.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_overlay_2.h>
|
#include <CGAL/Arr_overlay_2.h>
|
||||||
#include <CGAL/Arr_default_overlay_traits.h>
|
#include <CGAL/Arr_default_overlay_traits.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
// Associating a name attribute with segments using the generic curve-data
|
// Associating a name attribute with segments using the generic curve-data
|
||||||
// traits.
|
// traits.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_curve_data_traits_2.h>
|
#include <CGAL/Arr_curve_data_traits_2.h>
|
||||||
|
|
||||||
#include "arr_polylines.h"
|
#include "arr_polylines.h"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
#ifdef CGAL_USE_CORE
|
#ifdef CGAL_USE_CORE
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/draw_arrangement_2.h>
|
#include <CGAL/draw_arrangement_2.h>
|
||||||
|
|
||||||
#include "arr_conics.h"
|
#include "arr_conics.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/incremental_insertion.cpp
|
//! \file examples/Arrangement_on_surface_2/incremental_insertion.cpp
|
||||||
// Using the global incremental insertion functions.
|
// Using the global incremental insertion functions.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_naive_point_location.h>
|
#include <CGAL/Arr_naive_point_location.h>
|
||||||
|
|
||||||
#include "arr_exact_construction_segments.h"
|
#include "arr_exact_construction_segments.h"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/IO/Arr_iostream.h>
|
#include <CGAL/IO/Arr_iostream.h>
|
||||||
|
|
||||||
#include "arr_inexact_construction_segments.h"
|
#include "arr_inexact_construction_segments.h"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arrangement_with_history_2.h>
|
#include <CGAL/Arrangement_with_history_2.h>
|
||||||
#include <CGAL/IO/Arr_with_history_iostream.h>
|
#include <CGAL/IO/Arr_with_history_iostream.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/IO/Arr_iostream.h>
|
#include <CGAL/IO/Arr_iostream.h>
|
||||||
|
|
||||||
#include "arr_linear.h"
|
#include "arr_linear.h"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
#ifdef CGAL_USE_CORE
|
#ifdef CGAL_USE_CORE
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/draw_arrangement_2.h>
|
#include <CGAL/draw_arrangement_2.h>
|
||||||
|
|
||||||
#include "arr_conics.h"
|
#include "arr_conics.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/observer.cpp
|
//! \file examples/Arrangement_on_surface_2/observer.cpp
|
||||||
// Using a simple arrangement observer.
|
// Using a simple arrangement observer.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_observer.h>
|
#include <CGAL/Arr_observer.h>
|
||||||
|
|
||||||
#include "arr_exact_construction_segments.h"
|
#include "arr_exact_construction_segments.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/overlay.cpp
|
//! \file examples/Arrangement_on_surface_2/overlay.cpp
|
||||||
// A simple overlay of two arrangements.
|
// A simple overlay of two arrangements.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_overlay_2.h>
|
#include <CGAL/Arr_overlay_2.h>
|
||||||
|
|
||||||
#include "arr_exact_construction_segments.h"
|
#include "arr_exact_construction_segments.h"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_extended_dcel.h>
|
#include <CGAL/Arr_extended_dcel.h>
|
||||||
#include <CGAL/Arr_overlay_2.h>
|
#include <CGAL/Arr_overlay_2.h>
|
||||||
#include <CGAL/Arr_default_overlay_traits.h>
|
#include <CGAL/Arr_default_overlay_traits.h>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_extended_dcel.h>
|
#include <CGAL/Arr_extended_dcel.h>
|
||||||
#include <CGAL/Arr_overlay_2.h>
|
#include <CGAL/Arr_overlay_2.h>
|
||||||
#include <CGAL/Arr_default_overlay_traits.h>
|
#include <CGAL/Arr_default_overlay_traits.h>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
#ifdef CGAL_USE_CORE
|
#ifdef CGAL_USE_CORE
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/draw_arrangement_2.h>
|
#include <CGAL/draw_arrangement_2.h>
|
||||||
|
|
||||||
#include "arr_conics.h"
|
#include "arr_conics.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/point_location.cpp
|
//! \file examples/Arrangement_on_surface_2/point_location.cpp
|
||||||
// Answering point-location queries.
|
// Answering point-location queries.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_naive_point_location.h>
|
#include <CGAL/Arr_naive_point_location.h>
|
||||||
#include <CGAL/Arr_landmarks_point_location.h>
|
#include <CGAL/Arr_landmarks_point_location.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ int main() {
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_polycurve_traits_2.h>
|
#include <CGAL/Arr_polycurve_traits_2.h>
|
||||||
|
|
||||||
#include "arr_Bezier.h"
|
#include "arr_Bezier.h"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ int main() {
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/CORE_algebraic_number_traits.h>
|
#include <CGAL/CORE_algebraic_number_traits.h>
|
||||||
#include <CGAL/Arr_polycurve_traits_2.h>
|
#include <CGAL/Arr_polycurve_traits_2.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ int main() {
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_polycurve_traits_2.h>
|
#include <CGAL/Arr_polycurve_traits_2.h>
|
||||||
|
|
||||||
#include "arr_conics.h"
|
#include "arr_conics.h"
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,6 @@
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
|
|
||||||
#include "arr_exact_construction_segments.h"
|
#include "arr_exact_construction_segments.h"
|
||||||
#include "arr_print.h"
|
#include "arr_print.h"
|
||||||
#include "read_objects.h"
|
#include "read_objects.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/spherical_overlay.cpp
|
//! \file examples/Arrangement_on_surface_2/spherical_overlay.cpp
|
||||||
// Overlay of two arrangements embedded on the sphere.
|
// Overlay of two arrangements embedded on the sphere.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_overlay_2.h>
|
#include <CGAL/Arr_overlay_2.h>
|
||||||
#include <CGAL/Arr_default_overlay_traits.h>
|
#include <CGAL/Arr_default_overlay_traits.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_tracing_traits_2.h>
|
#include <CGAL/Arr_tracing_traits_2.h>
|
||||||
#include <CGAL/Arr_counting_traits_2.h>
|
#include <CGAL/Arr_counting_traits_2.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_vertical_decomposition_2.h>
|
#include <CGAL/Arr_vertical_decomposition_2.h>
|
||||||
|
|
||||||
#include "arr_linear.h"
|
#include "arr_linear.h"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! \file examples/Arrangement_on_surface_2/ex_vertical_ray_shooting.cpp
|
//! \file examples/Arrangement_on_surface_2/ex_vertical_ray_shooting.cpp
|
||||||
// Answering vertical ray-shooting queries.
|
// Answering vertical ray-shooting queries.
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Arr_walk_along_line_point_location.h>
|
#include <CGAL/Arr_walk_along_line_point_location.h>
|
||||||
#include <CGAL/Arr_trapezoid_ric_point_location.h>
|
#include <CGAL/Arr_trapezoid_ric_point_location.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Filtered_kernel.h>
|
#include <CGAL/Filtered_kernel.h>
|
||||||
#include <CGAL/Delaunay_triangulation_2.h>
|
#include <CGAL/Delaunay_triangulation_2.h>
|
||||||
#include <CGAL/squared_distance_2.h>
|
#include <CGAL/squared_distance_2.h>
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,11 @@
|
||||||
#include <iostream>
|
|
||||||
#include <fstream>
|
|
||||||
#include <cassert>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
#include <CGAL/basic.h>
|
|
||||||
#include <CGAL/Interval_arithmetic.h>
|
|
||||||
#include <CGAL/Simple_cartesian.h>
|
|
||||||
#include <CGAL/Segment_Delaunay_graph_traits_2.h>
|
#include <CGAL/Segment_Delaunay_graph_traits_2.h>
|
||||||
#include <CGAL/Segment_Delaunay_graph_filtered_traits_2.h>
|
#include <CGAL/Segment_Delaunay_graph_filtered_traits_2.h>
|
||||||
|
|
||||||
|
#include <CGAL/Interval_arithmetic.h>
|
||||||
|
#include <CGAL/Simple_cartesian.h>
|
||||||
|
|
||||||
#if defined(CGAL_USE_CORE) || defined(CGAL_USE_LEDA)
|
#if defined(CGAL_USE_CORE) || defined(CGAL_USE_LEDA)
|
||||||
#include <CGAL/Exact_algebraic.h>
|
#include <CGAL/Exact_algebraic.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -16,6 +13,10 @@
|
||||||
#include <CGAL/Exact_rational.h>
|
#include <CGAL/Exact_rational.h>
|
||||||
#include <CGAL/Exact_integer.h>
|
#include <CGAL/Exact_integer.h>
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <fstream>
|
||||||
|
#include <cassert>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
typedef CGAL::Simple_cartesian<double> Double_Kernel;
|
typedef CGAL::Simple_cartesian<double> Double_Kernel;
|
||||||
typedef CGAL::Simple_cartesian<CGAL::Interval_nt<true> > IT_Kernel;
|
typedef CGAL::Simple_cartesian<CGAL::Interval_nt<true> > IT_Kernel;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue