How to detect that 2 Faces share a same Edge or a common Edge part

Hello the community,

As said in the subject, I would like to be able to detect if 2 Faces (or their underneath support surface) share an entire (or piece of) Edge (or underneath curve).

In case of partial sharing, I would like to get the range of parameter that is in common.

I would appreciate any help on that,

Thanks!

Sam

Benjamin Bihler's picture

Maybe you could use the idea and some of the code from this post: https://www.opencascade.com/content/get-belonging-face-edge?

Benjamin