retrieving Faces from an Edge

I want to know which faces contain a given edge?
Is that possible to do this without exploring all faces of a shape, then all edges of the faces and compare them to the gievn edge?

Thanks,

Christophe

Stephane Routelous's picture

Have a look at TopExp:MapShapesAndAncestors

HTH