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
Tue, 05/17/2022 - 23:33
Hi, I too facing same problem. Shape is a 2D polygon and try to find intersection with 2D line using IntCurvesFace_ShapeIntersector. it does not work. Can you please let me know the way to find the intersection on 2D shapes?
Mon, 03/06/2023 - 19:26
I have the same problem, any update on this case?