Forum archiveIssue archiveOther usage issues

Archived discussion

[BUG + PATCH] BRepClass3d_Intersector3d

Other usage issuesThu, 05/19/2011 - 16:103 replies

Browse this forum
QuestionAuthor

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.

Discussion

3 archived replies

Posts are displayed in their archived order.

01Author

.. the patch

02Commenter-1

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.

Commenter-1.

03Author

I missed it, sorry

thank you