I'm working on a problem where I want to detect any overlap between two solids. Using BRrepAlgoAPI_Common, I can figure out when the two solids intersect, or when their shells have some (part of) a face in common. However, this approach does not seem to work for edges.
In particular, I'm looking at a problem such as the one described in the attached figure. The cylinder touches the box on a single edge (highlighted in red), situated somewhere in the middle of a box face. BRepAlgoAPI_Common does not identify it (I initialize it with the pair of faces).
Is there some other operation, or set of operations that allows me to find this overlapping edge? Any hint is greatly appreciated.