Forum archiveIssue archiveOther usage issues

Archived discussion

[bug] BRepExtrema_DistShapeShape between a face and a vertex

Other usage issuesFri, 11/02/2007 - 00:344 replies

Browse this forum
QuestionAuthor

when the face is a surface of revolution, BRepExtrema_DistShapeShape fails to find a correct solution.
As workaround, I'm using GeomAPI_ProjectPointOnSurf
Let me know if you need more information to reproduce the bug.

Author

Discussion

4 archived replies

Posts are displayed in their archived order.

01Commenter-1

Up

I encounter the same problem on a particular case. The first set of shapes is a cylinder and the second set of shapes is a point (vertex). Errors are accumulating strangely as distances are computed between new points and the basis cylinder.

02Commenter-2

Dear Author,

can you still reproduce this bug, or has it vanished in a new OCC version? If it's still persistent, could you provide more detail? I use BRepExtrema_DistShapeShape quite a lot and want to be sure that I always get the correct result. When I did some testing with a general surface of revolution (that is not a cone or cylinder) I always had the same results as with ProjectPointOnSurf.

Regards, Kris

03Author

Hi Kris,

the bug is in the current OCC version (6.2.1)
I can dig to see if I still have the brep file for the problem.

Author

04Commenter-2

Hi Author,

I'm sorry, but I didn't see your reply until now. Can you still reproduce this bug in OCC 6.3, and if so, can you send me some code snippets and/or brep file to reproduce the bug?

Kris.