Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: Re: [cgal-discuss] Bug in 3 Planes intersection?

Subject: CGAL users discussion list

List archive

Re: Re: Re: [cgal-discuss] Bug in 3 Planes intersection?


Chronological Thread 
  • From:
  • To:
  • Subject: Re: Re: Re: [cgal-discuss] Bug in 3 Planes intersection?
  • Date: Mon, 10 Sep 2007 15:45:58 +0200

I used the code:

Result=CGAL::intersection(TwinPlane, NewPlane, AftPlane);
Point3D Target;
bool isdo=assign(Target,Result);
Number d1=CGAL::squared_distance(NewPlane,Target);
Number d2=CGAL::squared_distance(AftPlane,Target);
Number d3=CGAL::squared_distance(TwinPlane,Target);

on:

TwinPlane: (0.821,-0.544, -0.174, -0.577)
AftPlane: (0.246, 0.816, 0.522, -0.577)
NewPlane: (0.410, -0.272, 0.870, -0.962)

The result is the point: (0,0,0.7035), but it should be (-0.8519, 0.0002,
0.7042). it seems the x coordinate is the only part really wrong here.

Amir.



Archive powered by MHonArc 2.6.16.

Top of Page