
Thu, 03/23/2017 - 22:17
Forums:
Hi there,
acting in a 2D environment I need to check if a given edge passes through a face.
I also need to differentiate these cases:
a) the edge crosses the face -> this means a hit
b) the edge is only touching the face's boundary (e.g. it is contained in the boundary wire) -> this means not hit
I am working with IntCurvesFace_ShapeIntersector but it gives no intersections. I also tried setting the boundary parameter to +/-INF (see https://www.opencascade.com/content/line-face-intersection).
Could it be a problem that the face and the edge are parallel in my 2d world?
Thanks for your help, Elio
Fri, 03/24/2017 - 08:16
Dear Elio,
We have sent to you a personal reply - please, check your mailbox.
Best regards,
Forum supervisor