Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Compile errors for Filtered_exact.h and CGAL::Failure_function

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Compile errors for Filtered_exact.h and CGAL::Failure_function


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] Compile errors for Filtered_exact.h and CGAL::Failure_function
  • Date: Fri, 05 Feb 2010 10:47:30 +0100
  • Organization: INRIA

Le 05/02/10 10:37, Junjie Cao a écrit :
Dear Pion,

#include <CGAL/Filtered_exact.h>

typedef CGAL::Filtered_exact<double, CGAL::MP_Float> NT;

typedef CGAL::Cartesian<NT> K;

* "typedef CGAL::Exact_predicates_inexact_constructions_kernel K" is
OK. But the NT will be used define some other variables.
What should I define NT? I use "typedef double NT" now.

"typedef double NT" is fine.
"typedef K::NT" is slightly better from some point of view, but in this
case will be exactly the same.

* There is also another error: 'det3x3_by_formula' : is not a member
of 'CGAL'.

It has been renamed to "determinant" (in <CGAL/determinant.h>).
Note that this particular function is not documented. You may prefer
to use the documented interface if you expect your program to continue
to work in the future (not that we never break the API, but certainly
the probability of a change in the undocumented part is definitely higher).

--
Sylvain Pion
INRIA Sophia Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page