CGAL 6.2 - CGAL and the Boost Graph Library: BGL_arrangement_2/arr_rational_nt.h

CGAL 6.2 - CGAL and the Boost Graph Library

Loading...
Searching...
No Matches
BGL_arrangement_2/arr_rational_nt.h
#ifndef CGAL_ARR_RATIONAL_NT_H
#define CGAL_ARR_RATIONAL_NT_H
#include <CGAL/basic.h>
#ifdef CGAL_USE_GMP
// GMP is installed. Use the GMP rational number-type.
#include <CGAL/Gmpq.h>
typedef CGAL::Gmpq Number_type;
#else
// GMP is not installed. Use CGAL's exact rational number-type.
#include <CGAL/MP_Float.h>
#include <CGAL/Quotient.h>
typedef CGAL::Quotient<CGAL::MP_Float> Number_type;
#endif