In BRepClass3d_Intersector3d::Perform it is possible to return true even if no point is found, resulting in wrong (uninitialized) U-V values.
The return true istruction is done in the wrong place.
Hello,
I don't think there is a bug there... When you do a Perform, if a calculation took place, IsDone() will return true, even if there is no intersection. To check if there is an intersection, you have to check HasAPoint() method. It's all documented in the BRepClass3d_Intersector3d.cdl file.
Thu, 05/19/2011 - 18:09
.. the patch
Thu, 05/19/2011 - 21:13
Hello,
I don't think there is a bug there... When you do a Perform, if a calculation took place, IsDone() will return true, even if there is no intersection. To check if there is an intersection, you have to check HasAPoint() method. It's all documented in the BRepClass3d_Intersector3d.cdl file.
Francois.
Thu, 05/19/2011 - 23:08
I missed it, sorry
thank you