ilovrene Fri, 05/14/2010 - 18:23 Forums: Other usage issueshi£¬ how can i get the distance between two parallel plane£¿ who has good idea£¿ help £¬thanks very much£¡ tmacedo29 Fri, 05/14/2010 - 19:23 Hi QiLiangTang, in gp_Pln class, there's the method Standard_Real Distance(const gp_Pln& Other) const; I recommend use SquareDistance instead of Distance ( check here why http://opencascade.blogspot.com/2008/12/extreme-fight-with-extrema-part-... ) I hope it helps Log in to post comments ilovrene Sat, 05/15/2010 - 17:18 Hi Macedo, Thank you for your advice. Now the problem is i got two parallel face £¨TopoDS_Face£©£¬then i want to know their SquareDistance£¬how should i do £¿ and i'm a beginner £¬so could u give a sample£¬please£¿ thank u very much ~£¡ Log in to post comments
Fri, 05/14/2010 - 19:23
Hi QiLiangTang,
in gp_Pln class, there's the method Standard_Real Distance(const gp_Pln& Other) const;
I recommend use SquareDistance instead of Distance ( check here why http://opencascade.blogspot.com/2008/12/extreme-fight-with-extrema-part-... )
I hope it helps
Sat, 05/15/2010 - 17:18
Hi Macedo,
Thank you for your advice.
Now the problem is i got two parallel face £¨TopoDS_Face£©£¬then i want to know their SquareDistance£¬how should i do £¿
and i'm a beginner £¬so could u give a sample£¬please£¿
thank u very much ~£¡