Forum archiveIssue archiveOther usage issues

Archived discussion

Better way to calculate Edge Edge intersection?

Other usage issuesThu, 10/18/2007 - 22:523 replies

Browse this forum
QuestionAuthor

I am trying to use TopOpeBRep_ShapeIntersector to calculate intersecting points/segments of two TopoDS_Edges, However, it requests to give the two TopoDS_Faces they are on.

On the Geometry level, I only see curve-surface or surface-surface intersection, 2d-curves' can be calculated, which also require surfaces on which the curves lie.

Is there another call to calculate two TopoDS_Edges' intersections? Thanks.

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

you can use BRepExtrema_DistShapeShape and check if Value() is 0.0

Commenter-1

02Author

Thanks, Stephane! It looks much better than what I am using!

BTW, Is there a good way to get a TopoDS_Edge's interior extrema points?

JH

03Author

Thanks, Stephane! It looks much better than what I am using!

BTW, Is there a good way to get a TopoDS_Edge's interior extrema with respect to 3 primary axes?

JH