Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Bug in CGAL/constructions_d.h

Subject: CGAL users discussion list

List archive

[cgal-discuss] Bug in CGAL/constructions_d.h


Chronological Thread 
  • From: Lars Kühne <>
  • To:
  • Subject: [cgal-discuss] Bug in CGAL/constructions_d.h
  • Date: Mon, 24 Sep 2012 15:41:47 +0200

Hi,

I wanted to use the global function center_of_sphere of the dD Geometry
Kernel and it required me to provide the Kernel I used for the resulting
Point_d object. I use the Cartesian_d kernel for my Point_d objects,
however, in constructions_d.h on line 58 it hard codes "{ typename
R::Center_of_sphereHd center;" when instad the line should say "{
typename R::Center_of_sphere_d center;". The reason for that is, that
both the Homogeneous_d and the Cartesian_d kernel internally typedef
their functions to "Center_of_sphere_d", the current version of
constructions_d.h, however, would only work with the homogeneous kernel
since it's not using these typdefs, but the name of the Homogeneous
Kernel's function directly.

I use the most recent stable version of CGAL, 4.02, on a Linux 64-bit
machine.

Cheers,
Lars




Archive powered by MHonArc 2.6.18.

Top of Page