Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Using CGAL::sqrt and CGAL::Gmpq?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Using CGAL::sqrt and CGAL::Gmpq?


Chronological Thread 
  • From: Laurent Rineau <>
  • To:
  • Subject: Re: [cgal-discuss] Using CGAL::sqrt and CGAL::Gmpq?
  • Date: Tue, 7 Aug 2007 11:03:12 +0200
  • Organization: Inria, Sophia Antipolis, FRANCE

On Tuesday 07 August 2007 10:48:28 Thomas Zangl - Home wrote:
> typedef CGAL::Regular_triangulation_filtered_traits_2<K>

Here is your error: Regular_triangulation_filtered_traits_2<K> requires K to
be a Filtered_kernel. The _exact_kernel_with_sqrt is not a filtered kernel:
it is a heavy kernel Simple_cartesian<NT>, where NT is an exact number type
with sqrt (leda_real or CORE::Expr).

Use Regular_triangulation_euclidean_traits_2<K> instead:

typedef CGAL::Regular_triangulation_euclidean_traits_2<K>
Regular_TriangulationTraits
typedef CGAL::Regular_triangulation_2<Regular_TriangulationTraits>
Regular_triangulation;

--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62



Archive powered by MHonArc 2.6.16.

Top of Page