Finding the common edges of two surfaces

How to do this with OpenCascade?
If there is no built-in tool, then I have to iterate over the edges of the surfaces and do some edge-based comparison. How to check the equality of twotwo topological edges?


Hugues's picture

I have found a class in OpenCascade that does the trick.
`BRepOffsetAPI_FindContigousEdges' is the class, be aware it's FindContigous and not FindContiguous as the orthography would expect it.

Fabio Napodano's picture

for future references:

check out ShapeAnalysis_Edge::CheckOverlapping

the usage is a bit obscure at first, but a look at the source code will unveil the idea