Subject: CGAL users discussion list
List archive
- From: "李宝顺" <>
- To: "" <>
- Subject: Re: [cgal-discuss] Bug in 3 Planes intersection?
- Date: Mon, 10 Sep 2007 20:34:13 +0800
I am very interest in CGAL, but I am a green hand. so I am sorroy, I can not
answer you.
------------------
李宝顺
2007-09-10
-------------------------------------------------------------
发件人:avaxman
发送日期:2007-09-10 19:38:32
收件人:
抄送:
主题:[cgal-discuss] Bug in 3 Planes intersection?
I use this 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);
"Number" beign a cartesian<double> kernel number type, and (TwinPlane,
NewPlane, AftPlane) are all Plane_3<cartesian<double>> types. However, the
distances d1,d2,d3 which are supposed to be 0 (because the point Target is
the intersection) are sometimes way off, and the Target point is not correct.
Moreover, when I change the order of the planes in the CGAL::intersection
function, the results sometimes differ. Is that a known bug?
Amir.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- Bug in 3 Planes intersection?, avaxman, 09/10/2007
- Re: [cgal-discuss] Bug in 3 Planes intersection?, 李宝顺, 09/10/2007
- Re: [cgal-discuss] Bug in 3 Planes intersection?, Monique . Teillaud, 09/10/2007
- Re: [cgal-discuss] Bug in 3 Planes intersection?, Bernd Gaertner, 09/10/2007
Archive powered by MHonArc 2.6.16.