Need help to determine a parent of edge on flatten surface.

Hello Guys. I fave a body with some faces and i create a flatten surface by InsertFlattenSurface2 from some face on this body.

And the question: how can i determine the parent edges on the body face from i created a flatten surface.

To understand the essence of the question, I attach a picture. On the picture i select two edges: on the body face, that i flatten and on the flatten surface. How can i determine the both edges are of the same origin using a macro.

SolidworksApi/macros