check topology of a face


i'm looking for a tool [ shapefix / shapeanalyse? ] that helps to analyse how edges are connected to a face.
for instance; for a rectangle, you assume 4 edges.
if you find 5 edges, you know you'll have to merge 2 edges, right?
so, I'm wondering whether OCC has tools to analyse topology in this manner.

any ideas on how to approach this?



jelle's picture

[ turns out that ShapeAnalysis_Edge has pretty powerful methods for this... ]