mirror of https://github.com/CGAL/cgal
Switch to Simple_cartesian
This commit is contained in:
parent
0eeaccfb03
commit
a971b5e9ba
|
|
@ -1,12 +1,11 @@
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Polygon_2.h>
|
||||
#include <CGAL/point_generators_2.h>
|
||||
#include <CGAL/random_convex_set_2.h>
|
||||
#include <CGAL/min_quadrilateral_2.h>
|
||||
#include <iostream>
|
||||
|
||||
struct Kernel : public CGAL::Cartesian<double> {};
|
||||
|
||||
typedef CGAL::Simple_cartesian<double> Kernel;
|
||||
typedef Kernel::Point_2 Point_2;
|
||||
typedef Kernel::Line_2 Line_2;
|
||||
typedef CGAL::Polygon_2<Kernel> Polygon_2;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Polygon_2.h>
|
||||
#include <CGAL/point_generators_2.h>
|
||||
#include <CGAL/random_convex_set_2.h>
|
||||
#include <CGAL/min_quadrilateral_2.h>
|
||||
#include <iostream>
|
||||
|
||||
struct Kernel : public CGAL::Cartesian<double> {};
|
||||
typedef CGAL::Simple_cartesian<double> Kernel;
|
||||
|
||||
typedef Kernel::Point_2 Point_2;
|
||||
typedef Kernel::Line_2 Line_2;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Polygon_2.h>
|
||||
#include <CGAL/point_generators_2.h>
|
||||
#include <CGAL/random_convex_set_2.h>
|
||||
#include <CGAL/min_quadrilateral_2.h>
|
||||
#include <iostream>
|
||||
|
||||
struct Kernel : public CGAL::Cartesian<double> {};
|
||||
typedef CGAL::Simple_cartesian<double> Kernel;
|
||||
|
||||
typedef Kernel::Point_2 Point_2;
|
||||
typedef Kernel::Line_2 Line_2;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/point_generators_2.h>
|
||||
#include <CGAL/rectangular_p_center_2.h>
|
||||
#include <CGAL/IO/Ostream_iterator.h>
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
typedef double FT;
|
||||
|
||||
typedef CGAL::Cartesian<FT> Kernel;
|
||||
typedef CGAL::Simple_cartesian<FT> Kernel;
|
||||
|
||||
typedef Kernel::Point_2 Point;
|
||||
typedef std::vector<Point> Cont;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Polygon_2.h>
|
||||
#include <CGAL/point_generators_2.h>
|
||||
#include <CGAL/random_convex_set_2.h>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
typedef double FT;
|
||||
|
||||
typedef CGAL::Cartesian<FT> Kernel;
|
||||
typedef CGAL::Simple_cartesian<FT> Kernel;
|
||||
|
||||
typedef Kernel::Point_2 Point;
|
||||
typedef std::vector<int> Index_cont;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Polygon_2.h>
|
||||
#include <CGAL/point_generators_2.h>
|
||||
#include <CGAL/random_convex_set_2.h>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
typedef double FT;
|
||||
|
||||
typedef CGAL::Cartesian<FT> Kernel;
|
||||
typedef CGAL::Simple_cartesian<FT> Kernel;
|
||||
|
||||
typedef Kernel::Point_2 Point;
|
||||
typedef std::vector<int> Index_cont;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Ti is the type of each dimension of the tree.
|
||||
|
||||
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Range_segment_tree_traits.h>
|
||||
#include <CGAL/Range_tree_k.h>
|
||||
#include <iostream>
|
||||
|
|
@ -12,8 +12,8 @@
|
|||
#include <iterator>
|
||||
|
||||
|
||||
typedef CGAL::Cartesian<double> Representation;
|
||||
typedef CGAL::Range_tree_map_traits_2<Representation, char> Traits;
|
||||
typedef CGAL::Simple_cartesian<double> K;
|
||||
typedef CGAL::Range_tree_map_traits_2<K, char> Traits;
|
||||
typedef CGAL::Range_tree_2<Traits> Range_tree_2_type;
|
||||
|
||||
int main()
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// Ti is the type of each dimension of the tree.
|
||||
|
||||
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Range_segment_tree_traits.h>
|
||||
#include <CGAL/Range_tree_k.h>
|
||||
#include <iostream>
|
||||
|
|
@ -11,8 +11,8 @@
|
|||
#include <vector>
|
||||
#include <iterator>
|
||||
|
||||
typedef CGAL::Cartesian<double> Representation;
|
||||
typedef CGAL::Range_segment_tree_set_traits_2<Representation> Traits;
|
||||
typedef CGAL::Simple_cartesian<double> K;
|
||||
typedef CGAL::Range_segment_tree_set_traits_2<K> Traits;
|
||||
typedef CGAL::Range_tree_2<Traits> Range_tree_2_type;
|
||||
|
||||
int main()
|
||||
|
|
|
|||
|
|
@ -7,14 +7,14 @@
|
|||
#include <vector>
|
||||
#include <iterator>
|
||||
#include <list>
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Segment_tree_k.h>
|
||||
#include <CGAL/Range_segment_tree_traits.h>
|
||||
|
||||
|
||||
|
||||
typedef CGAL::Cartesian<double> Representation;
|
||||
typedef CGAL::Segment_tree_map_traits_2<Representation, char> Traits;
|
||||
typedef CGAL::Simple_cartesian<double> K;
|
||||
typedef CGAL::Segment_tree_map_traits_2<K, char> Traits;
|
||||
typedef CGAL::Segment_tree_2<Traits > Segment_tree_2_type;
|
||||
|
||||
int main()
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@
|
|||
#include <vector>
|
||||
#include <iterator>
|
||||
#include <list>
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Segment_tree_k.h>
|
||||
#include <CGAL/Range_segment_tree_traits.h>
|
||||
|
||||
typedef CGAL::Cartesian<double> Representation;
|
||||
typedef CGAL::Range_segment_tree_set_traits_2<Representation> Traits;
|
||||
typedef CGAL::Simple_cartesian<double> K;
|
||||
typedef CGAL::Range_segment_tree_set_traits_2<K> Traits;
|
||||
typedef CGAL::Segment_tree_2<Traits > Segment_tree_2_type;
|
||||
|
||||
int main()
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@
|
|||
#include <utility>
|
||||
#include <iterator>
|
||||
#include <list>
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Segment_tree_k.h>
|
||||
#include <CGAL/Range_segment_tree_traits.h>
|
||||
|
||||
typedef CGAL::Cartesian<double> Representation;
|
||||
typedef CGAL::Range_segment_tree_set_traits_3<Representation> Traits;
|
||||
typedef CGAL::Simple_cartesian<double> K;
|
||||
typedef CGAL::Range_segment_tree_set_traits_3<K> Traits;
|
||||
typedef CGAL::Segment_tree_3<Traits > Segment_tree_3_type;
|
||||
|
||||
int main()
|
||||
|
|
|
|||
Loading…
Reference in New Issue