#include <CGAL/config.h>
#ifdef CGAL_USE_CORE
#include "arr_conics.h"
#include "arr_print.h"
int main() {
Traits traits;
Arrangement arr(&traits);
auto ctr_cv = traits.construct_curve_2_object();
Point(Rational(1,4), 4), Point(2, Rational(1,2))));
insert(arr, ctr_cv(58, 72, -48, 0, 0, -360));
insert(arr, ctr_cv(Rat_segment(Rat_point(1, 1), Rat_point(0, -3))));
insert(arr, ctr_cv(Rat_point(-3, 4), Rat_point(0, 5), Rat_point(4, 3)));
insert(arr, ctr_cv(Rat_circle(Rat_point(0,4), 1)));
Conic_arc c6 =
Point(-1.73, -3),
0, 0, 0, 0, 1, 3,
Point(1.41, -2),
0, 0, 0, 0, 1, 2);
insert(arr, c6);
Rat_circle circ7(Rat_point(4, Rational(5,2)), Rational(1,4));
print_arrangement_size(arr);
return 0;
}
#else
#include <iostream>
int main() {
std::cout << "Sorry, this example needs GMP and CORE\n";
return 0;
}
#endif
const CGAL::Orientation COUNTERCLOCKWISE
const CGAL::Orientation CLOCKWISE