mirror of https://github.com/CGAL/cgal
used cached traits
This commit is contained in:
parent
d00e490fc2
commit
5d00bad4fb
|
|
@ -67,13 +67,13 @@ The endpoints of the resulting sub segments are printed out.
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/MP_Float.h>
|
||||
#include <CGAL/Quotient.h>
|
||||
#include <CGAL/Arr_segment_traits_2.h>
|
||||
#include <CGAL/Arr_segment_cached_traits_2.h>
|
||||
#include <CGAL/Sweep_line_2.h>
|
||||
#include <vector>
|
||||
|
||||
typedef CGAL::Quotient<CGAL::MP_Float> NT;
|
||||
typedef CGAL::Cartesian<NT> Kernel;
|
||||
typedef CGAL::Arr_segment_traits_2<Kernel> Traits;
|
||||
typedef CGAL::Arr_segment_cached_traits_2<Kernel> Traits;
|
||||
typedef Traits::Point_2 Point_2;
|
||||
typedef Traits::Curve_2 Curve_2;
|
||||
typedef std::list<Curve_2> CurveList;
|
||||
|
|
|
|||
|
|
@ -67,13 +67,13 @@ The endpoints of the resulting sub segments are printed out.
|
|||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/MP_Float.h>
|
||||
#include <CGAL/Quotient.h>
|
||||
#include <CGAL/Arr_segment_traits_2.h>
|
||||
#include <CGAL/Arr_segment_cached_traits_2.h>
|
||||
#include <CGAL/Sweep_line_2.h>
|
||||
#include <vector>
|
||||
|
||||
typedef CGAL::Quotient<CGAL::MP_Float> NT;
|
||||
typedef CGAL::Cartesian<NT> Kernel;
|
||||
typedef CGAL::Arr_segment_traits_2<Kernel> Traits;
|
||||
typedef CGAL::Arr_segment_cached_traits_2<Kernel> Traits;
|
||||
typedef Traits::Point_2 Point_2;
|
||||
typedef Traits::Curve_2 Curve_2;
|
||||
typedef std::list<Curve_2> CurveList;
|
||||
|
|
|
|||
Loading…
Reference in New Issue