mirror of https://github.com/CGAL/cgal
Cartesian->Homogeneous with ring NT
This commit is contained in:
parent
1bb80d52ec
commit
c7d7cf22c1
|
|
@ -2,7 +2,7 @@
|
|||
// as input type and some internal EXACT floating point type
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Homogeneous.h>
|
||||
#include <CGAL/Polytope_distance_d.h>
|
||||
#include <CGAL/Polytope_distance_d_traits_3.h>
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ typedef CGAL::MP_Float ET;
|
|||
#endif
|
||||
|
||||
// use an EXACT kernel...
|
||||
typedef CGAL::Simple_cartesian<ET> K;
|
||||
typedef CGAL::Homogeneous<ET> K;
|
||||
typedef K::Point_3 Point;
|
||||
// ...and the traits class based on the exact kernel
|
||||
typedef CGAL::Polytope_distance_d_traits_3<K> Traits;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
// internal computations
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Homogeneous.h>
|
||||
#include <CGAL/Polytope_distance_d.h>
|
||||
#include <CGAL/Polytope_distance_d_traits_3.h>
|
||||
|
||||
|
|
@ -17,7 +17,7 @@ typedef CGAL::MP_Float ET;
|
|||
#endif
|
||||
|
||||
// use an inexact kernel...
|
||||
typedef CGAL::Simple_cartesian<double> K;
|
||||
typedef CGAL::Homogeneous<double> K;
|
||||
typedef K::Point_3 Point;
|
||||
// ... and the EXACT traits class based on the inexcat kernel
|
||||
typedef CGAL::Polytope_distance_d_traits_3<K, ET, double> Traits;
|
||||
|
|
|
|||
Loading…
Reference in New Issue