Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL::Plane_3: bug in functions to_2d and to_3d ??

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL::Plane_3: bug in functions to_2d and to_3d ??


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL::Plane_3: bug in functions to_2d and to_3d ??
  • Date: Thu, 01 Mar 2012 14:11:17 +0100

Which Kernel are you using?

Sebastien.

On 03/01/2012 02:04 PM, Bertrand Pellenard wrote:
Hello,

i used functions to_2d and to_2d functions of CGAL::Plane_3.

if the object plane have Vector_3 of orthogonal_direction equals to i, j
or k, the result of to_2d is not relevant:

in my experiments:
the normal of the plane is the vector : 4.71019e-19 -1 8.02098e-20

Points to convert in 2d:
p1 : 1.63532 -0.766137 0.493543
p2 : 1.23422 -0.766137 1.18164
p3 : 0.303906 -0.766137 1.6816


Returned values:
-1.62655e+18 0.493543
-1.62655e+18 1.18164
-1.62655e+18 1.6816


Is someone have encountered this kind of bug ?

Best regards.

Bertrand Pellenard











Archive powered by MHonArc 2.6.16.

Top of Page