Make it work in case of absence of LEDA

This commit is contained in:
Andreas Fabri 2007-03-05 10:25:57 +00:00
parent a831312e0a
commit 2dcb9aaef1
1 changed files with 10 additions and 1 deletions

View File

@ -3,9 +3,18 @@
#include <CGAL/Width_3.h>
#include <iostream>
#include <vector>
#include <CGAL/leda_integer.h>
#if defined(CGAL_USE_GMP)
#include <CGAL/Gmpz.h>
typedef CGAL::Gmpz RT;
#elif defined (CGAL_USE_LEDA)
#include <CGAL/leda_integer.h>
typedef leda_integer RT;
#else
#include <CGAL/MP_Float.h>
typedef CGAL::MP_Float RT;
#endif
typedef CGAL::Homogeneous<RT> Kernel;
typedef Kernel::Point_3 Point_3;
typedef Kernel::Plane_3 Plane_3;