Cartesian->Homogeneous with ring NT

This commit is contained in:
Bernd Gärtner 2007-06-11 12:29:09 +00:00
parent 1bb80d52ec
commit c7d7cf22c1
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;