mirror of https://github.com/CGAL/cgal
Removal of remaining protect macros : those protecting other CGAL include files.
Done using the script Scripts/developer_scripts/cgal_conditional_include_remove.
This commit is contained in:
parent
3292087519
commit
2bdfec6cc0
|
|
@ -20,9 +20,7 @@
|
|||
#ifndef CGAL_TD_PREDICATES_H
|
||||
#define CGAL_TD_PREDICATES_H
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
#include <functional>
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#include <CGAL/Handle.h>
|
||||
#include <CGAL/Arr_point_location/Td_ninetuple.h>
|
||||
#endif
|
||||
#ifndef CGAL_TWOTUPLE_H
|
||||
#include <CGAL/Twotuple.h>
|
||||
#endif
|
||||
|
||||
#ifndef CGAL_TD_DAG_H
|
||||
#include <CGAL/Arr_point_location/Td_dag.h>
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#ifndef CGAL_CIRCULATOR_IMPL_H
|
||||
#define CGAL_CIRCULATOR_IMPL_H 1
|
||||
|
||||
#ifndef CGAL_CIRCULATOR_H
|
||||
#include <CGAL/circulator.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -25,9 +25,7 @@
|
|||
#ifndef CGAL_CONIC_2_H
|
||||
#define CGAL_CONIC_2_H
|
||||
|
||||
#ifndef CGAL_IO_FORWARD_DECL_WINDOW_STREAM_H
|
||||
#include <CGAL/IO/forward_decl_window_stream.h>
|
||||
#endif
|
||||
|
||||
#include <CGAL/Conic_misc.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#ifndef CGAL_HALFEDGEDS_FACE_BASE_H
|
||||
#define CGAL_HALFEDGEDS_FACE_BASE_H 1
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#ifndef CGAL_HALFEDGEDS_FACE_MIN_BASE_H
|
||||
#define CGAL_HALFEDGEDS_FACE_MIN_BASE_H 1
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#ifndef CGAL_HALFEDGEDS_HALFEDGE_BASE_H
|
||||
#define CGAL_HALFEDGEDS_HALFEDGE_BASE_H 1
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#ifndef CGAL_HALFEDGEDS_HALFEDGE_MIN_BASE_H
|
||||
#define CGAL_HALFEDGEDS_HALFEDGE_MIN_BASE_H 1
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -23,15 +23,9 @@
|
|||
|
||||
#ifndef CGAL_HALFEDGEDS_ITEMS_2_H
|
||||
#define CGAL_HALFEDGEDS_ITEMS_2_H 1
|
||||
#ifndef CGAL_HALFEDGEDS_VERTEX_BASE_H
|
||||
#include <CGAL/HalfedgeDS_vertex_base.h>
|
||||
#endif
|
||||
#ifndef CGAL_HALFEDGEDS_HALFEDGE_BASE_H
|
||||
#include <CGAL/HalfedgeDS_halfedge_base.h>
|
||||
#endif
|
||||
#ifndef CGAL_HALFEDGEDS_FACE_BASE_H
|
||||
#include <CGAL/HalfedgeDS_face_base.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
|
||||
#ifndef CGAL_HALFEDGEDS_ITERATOR_H
|
||||
#define CGAL_HALFEDGEDS_ITERATOR_H 1
|
||||
#ifndef CGAL_CIRCULATOR_H
|
||||
#include <CGAL/circulator.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -23,15 +23,9 @@
|
|||
|
||||
#ifndef CGAL_HALFEDGEDS_MIN_ITEMS_H
|
||||
#define CGAL_HALFEDGEDS_MIN_ITEMS_H 1
|
||||
#ifndef CGAL_HALFEDGEDS_VERTEX_MIN_BASE_H
|
||||
#include <CGAL/HalfedgeDS_vertex_min_base.h>
|
||||
#endif
|
||||
#ifndef CGAL_HALFEDGEDS_HALFEDGE_MIN_BASE_H
|
||||
#include <CGAL/HalfedgeDS_halfedge_min_base.h>
|
||||
#endif
|
||||
#ifndef CGAL_HALFEDGEDS_FACE_MIN_BASE_H
|
||||
#include <CGAL/HalfedgeDS_face_min_base.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#ifndef CGAL_HALFEDGEDS_VERTEX_BASE_H
|
||||
#define CGAL_HALFEDGEDS_VERTEX_BASE_H 1
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
#ifndef CGAL_HALFEDGEDS_VERTEX_MIN_BASE_H
|
||||
#define CGAL_HALFEDGEDS_VERTEX_MIN_BASE_H 1
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -23,15 +23,9 @@
|
|||
|
||||
#ifndef CGAL_POLYHEDRON_ITEMS_3_H
|
||||
#define CGAL_POLYHEDRON_ITEMS_3_H 1
|
||||
#ifndef CGAL_HALFEDGEDS_VERTEX_BASE_H
|
||||
#include <CGAL/HalfedgeDS_vertex_base.h>
|
||||
#endif
|
||||
#ifndef CGAL_HALFEDGEDS_HALFEDGE_BASE_H
|
||||
#include <CGAL/HalfedgeDS_halfedge_base.h>
|
||||
#endif
|
||||
#ifndef CGAL_HALFEDGEDS_FACE_BASE_H
|
||||
#include <CGAL/HalfedgeDS_face_base.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -103,9 +103,7 @@ void test_HalfedgeDS_default() {
|
|||
CGAL_assertion(!(i == hds.halfedges_end()));
|
||||
}
|
||||
|
||||
#ifndef CGAL_HALFEDGEDS_VECTOR_H
|
||||
#include <CGAL/HalfedgeDS_vector.h>
|
||||
#endif
|
||||
|
||||
void test_HalfedgeDS_vector() {
|
||||
// Instantiation of the halfedge data structure using vector
|
||||
|
|
|
|||
|
|
@ -22,13 +22,9 @@
|
|||
|
||||
// includes
|
||||
// --------
|
||||
#ifndef CGAL_OPTIMISATION_BASIC_H
|
||||
# include <CGAL/Optimisation/basic.h>
|
||||
#endif
|
||||
|
||||
#ifndef CGAL_FUNCTION_OBJECTS_H
|
||||
# include <CGAL/function_objects.h>
|
||||
#endif
|
||||
|
||||
#include <CGAL/QP_solver.h>
|
||||
#include <CGAL/QP_solver/QP_partial_filtered_pricing.h>
|
||||
|
|
|
|||
|
|
@ -29,9 +29,7 @@
|
|||
#define CGAL_TEST_MIN_ANNULUS_D_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_IO_VERBOSE_OSTREAM_H
|
||||
# include <CGAL/IO/Verbose_ostream.h>
|
||||
#endif
|
||||
#include <cassert>
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@
|
|||
#define CGAL_MIN_CIRCLE_2_ADAPTERC2_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_OPTIMISATION_BASIC_H
|
||||
# include <CGAL/Optimisation/basic.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@
|
|||
#define CGAL_MIN_CIRCLE_2_ADAPTERH2_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_OPTIMISATION_BASIC_H
|
||||
# include <CGAL/Optimisation/basic.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -22,12 +22,8 @@
|
|||
|
||||
// includes
|
||||
|
||||
#ifndef CGAL_BASIC_CONSTRUCTIONS_2_H
|
||||
# include <CGAL/basic_constructions_2.h>
|
||||
#endif
|
||||
#ifndef CGAL_SQUARED_DISTANCE_2_H
|
||||
# include <CGAL/squared_distance_2.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,7 @@
|
|||
// Author(s) : Sven Schoenherr <sven@inf.ethz.ch>, Bernd Gaertner
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_OPTIMISATION_ASSERTIONS_H
|
||||
# include <CGAL/Optimisation/assertions.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -25,9 +25,7 @@
|
|||
#ifndef CGAL_OPTIMISATION_CIRCLE_2_H
|
||||
# include <CGAL/Min_circle_2/Optimisation_circle_2.h>
|
||||
#endif
|
||||
#ifndef CGAL_PREDICATES_ON_POINTS_2_H
|
||||
# include <CGAL/predicates_on_points_2.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -21,12 +21,8 @@
|
|||
#define CGAL_MIN_ELLIPSE_2_ADAPTERC2_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_CONICCPA2_H
|
||||
# include <CGAL/ConicCPA2.h>
|
||||
#endif
|
||||
#ifndef CGAL_OPTIMISATION_ASSERTIONS_H
|
||||
# include <CGAL/Optimisation/assertions.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -21,12 +21,8 @@
|
|||
#define CGAL_MIN_ELLIPSE_2_ADAPTERH2_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_CONICHPA2_H
|
||||
# include <CGAL/ConicHPA2.h>
|
||||
#endif
|
||||
#ifndef CGAL_OPTIMISATION_ASSERTIONS_H
|
||||
# include <CGAL/Optimisation/assertions.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
#include <CGAL/Conic_2.h>
|
||||
#include <CGAL/Optimisation/assertions.h>
|
||||
|
||||
#ifndef CGAL_IO_FORWARD_DECL_WINDOW_STREAM_H
|
||||
# include <CGAL/IO/forward_decl_window_stream.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -22,9 +22,7 @@
|
|||
|
||||
// includes
|
||||
// --------
|
||||
#ifndef CGAL_OPTIMISATION_BASIC_H
|
||||
# include <CGAL/Optimisation/basic.h>
|
||||
#endif
|
||||
|
||||
#include <CGAL/function_objects.h>
|
||||
#include <CGAL/QP_solver.h>
|
||||
|
|
|
|||
|
|
@ -29,9 +29,7 @@
|
|||
#define CGAL_TEST_MIN_SPHERE_D_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_IO_VERBOSE_OSTREAM_H
|
||||
# include <CGAL/IO/Verbose_ostream.h>
|
||||
#endif
|
||||
#include <cassert>
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -25,12 +25,8 @@
|
|||
// ============================================================================
|
||||
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif // CGAL_BASIC_H
|
||||
#ifndef CGAL_MODIFIER_BASE_H
|
||||
#include <CGAL/Modifier_base.h>
|
||||
#endif // CGAL_MODIFIER_BASE_H
|
||||
|
||||
using CGAL::Modifier_base;
|
||||
|
||||
|
|
|
|||
|
|
@ -25,15 +25,9 @@
|
|||
#define CGAL_OPTIMISATION_D_TRAITS_2_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_OPTIMISATION_ACCESS_DIMENSION_2_H
|
||||
# include <CGAL/Optimisation/Access_dimension_2.h>
|
||||
#endif
|
||||
#ifndef CGAL_OPTIMISATION_ACCESS_COORDINATES_BEGIN_2_H
|
||||
# include <CGAL/Optimisation/Access_coordinates_begin_2.h>
|
||||
#endif
|
||||
#ifndef CGAL_OPTIMISATION_CONSTRUCT_POINT_2_H
|
||||
# include <CGAL/Optimisation/Construct_point_2.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -25,15 +25,9 @@
|
|||
#define CGAL_OPTIMISATION_D_TRAITS_3_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_OPTIMISATION_ACCESS_DIMENSION_3_H
|
||||
# include <CGAL/Optimisation/Access_dimension_3.h>
|
||||
#endif
|
||||
#ifndef CGAL_OPTIMISATION_ACCESS_COORDINATES_BEGIN_3_H
|
||||
# include <CGAL/Optimisation/Access_coordinates_begin_3.h>
|
||||
#endif
|
||||
#ifndef CGAL_OPTIMISATION_CONSTRUCT_POINT_3_H
|
||||
# include <CGAL/Optimisation/Construct_point_3.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -25,15 +25,9 @@
|
|||
#define CGAL_OPTIMISATION_D_TRAITS_D_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_OPTIMISATION_ACCESS_DIMENSION_D_H
|
||||
# include <CGAL/Optimisation/Access_dimension_d.h>
|
||||
#endif
|
||||
#ifndef CGAL_OPTIMISATION_ACCESS_COORDINATES_BEGIN_D_H
|
||||
# include <CGAL/Optimisation/Access_coordinates_begin_d.h>
|
||||
#endif
|
||||
#ifndef CGAL_OPTIMISATION_CONSTRUCT_POINT_D_H
|
||||
# include <CGAL/Optimisation/Construct_point_d.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -19,15 +19,9 @@
|
|||
|
||||
#ifndef CGAL_POLYHEDRON_MIN_ITEMS_3_H
|
||||
#define CGAL_POLYHEDRON_MIN_ITEMS_3_H 1
|
||||
#ifndef CGAL_HALFEDGEDS_VERTEX_BASE_H
|
||||
#include <CGAL/HalfedgeDS_vertex_base.h>
|
||||
#endif
|
||||
#ifndef CGAL_HALFEDGEDS_HALFEDGE_BASE_H
|
||||
#include <CGAL/HalfedgeDS_halfedge_base.h>
|
||||
#endif
|
||||
#ifndef CGAL_HALFEDGEDS_FACE_BASE_H
|
||||
#include <CGAL/HalfedgeDS_face_base.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -28,9 +28,7 @@
|
|||
#define CGAL_TEST_POLYTOPE_DISTANCE_D_H
|
||||
|
||||
// includes
|
||||
#ifndef CGAL_IO_VERBOSE_OSTREAM_H
|
||||
# include <CGAL/IO/Verbose_ostream.h>
|
||||
#endif
|
||||
#include <cassert>
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@
|
|||
#ifndef CGAL_TREE_ASSERTIONS_H
|
||||
#define CGAL_TREE_ASSERTIONS_H
|
||||
|
||||
#ifndef CGAL_ASSERTIONS_H
|
||||
# include <CGAL/assertions.h>
|
||||
#endif
|
||||
|
||||
|
||||
// macro definitions
|
||||
|
|
|
|||
|
|
@ -18,17 +18,11 @@
|
|||
#ifndef CGAL_STRAIGHT_SKELETON_ITEMS_2_H
|
||||
#define CGAL_STRAIGHT_SKELETON_ITEMS_2_H 1
|
||||
|
||||
#ifndef CGAL_STRAIGHT_SKELETON_VERTEX_BASE_2_H
|
||||
#include <CGAL/Straight_skeleton_vertex_base_2.h>
|
||||
#endif
|
||||
|
||||
#ifndef CGAL_STRAIGHT_SKELETON_HALFEDGE_BASE_2_H
|
||||
#include <CGAL/Straight_skeleton_halfedge_base_2.h>
|
||||
#endif
|
||||
|
||||
#ifndef CGAL_HALFEDGEDS_FACE_BASE_H
|
||||
#include <CGAL/HalfedgeDS_face_base.h>
|
||||
#endif
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -18,13 +18,9 @@
|
|||
#ifndef CGAL_STRAIGHT_SKELETON_VERTEX_BASE_2_H
|
||||
#define CGAL_STRAIGHT_SKELETON_VERTEX_BASE_2_H 1
|
||||
|
||||
#ifndef CGAL_STRAIGHT_SKELETON_HALFEDGE_BASE_2_H
|
||||
#include <CGAL/Straight_skeleton_halfedge_base_2.h>
|
||||
#endif
|
||||
|
||||
#ifndef CGAL_CIRCULATOR_H
|
||||
#include <CGAL/circulator.h>
|
||||
#endif
|
||||
|
||||
#include <boost/iterator/iterator_facade.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@
|
|||
|
||||
#ifndef CGAL_IO_FILE_HEADER_EXTENDED_OFF_H
|
||||
#define CGAL_IO_FILE_HEADER_EXTENDED_OFF_H 1
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
|
|
|||
|
|
@ -23,12 +23,8 @@
|
|||
|
||||
#ifndef CGAL_IO_WRITER_OFF_H
|
||||
#define CGAL_IO_WRITER_OFF_H 1
|
||||
#ifndef CGAL_IO_FILE_WRITER_OFF_H
|
||||
#include <CGAL/IO/File_writer_OFF.h>
|
||||
#endif // CGAL_IO_FILE_WRITER_OFF_H
|
||||
#ifndef CGAL_IO_GENERIC_WRITER_H
|
||||
#include <CGAL/IO/Generic_writer.h>
|
||||
#endif // CGAL_IO_GENERIC_WRITER_H
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@
|
|||
//
|
||||
// Author(s) : Lutz Kettner <kettner@mpi-sb.mpg.de>
|
||||
|
||||
#ifndef CGAL_IO_FILE_WRITER_INVENTOR_H
|
||||
#include <CGAL/IO/File_writer_inventor.h>
|
||||
#endif // CGAL_IO_FILE_WRITER_INVENTOR_H
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -20,9 +20,7 @@
|
|||
#ifndef CGAL_VISIBILITY_COMPLEX_ITERATORS_H
|
||||
#define CGAL_VISIBILITY_COMPLEX_ITERATORS_H
|
||||
|
||||
#ifndef CGAL_BASIC_H
|
||||
#include <CGAL/basic.h>
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
|
||||
|
|
|
|||
|
|
@ -72,19 +72,13 @@
|
|||
#if defined(CGAL_LINE_3_H) || defined(CGAL_RAY_3_H) \
|
||||
|| defined(CGAL_SEGMENT_3_H) || defined(CGAL_TRIANGLE_3_H) \
|
||||
|| defined(CGAL_TETRAHEDRON_3_H)
|
||||
#ifndef CGAL_POINT_2_H
|
||||
#include <CGAL/Point_2.h>
|
||||
#endif
|
||||
#ifndef CGAL_POINT_3_H
|
||||
#include <CGAL/Point_3.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Define necessary 2d stream operators.
|
||||
// -------------------------------------
|
||||
#ifndef CGAL_IO_WINDOW_STREAM_H
|
||||
#include <CGAL/IO/Window_stream.h>
|
||||
#endif // CGAL_IO_WINDOW_STREAM_H
|
||||
|
||||
CGAL_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue