How to enumerate only new edges after FUSE without touching the old ones?

Hi guys! I want to find only new added edges (and faces, but first - edges) after FUSE operation. Look at image below, i have one complex solid body and want to add (with fuse/union) one simple extrusion to existing face of this body, ok? Ok, goes further...

I did this extrusion with fuse:

and now i want to enumerate only new few edges, not all, how can i do this after fuse?

REASON: i want to allocate GPU resources only for new geometry without duplicate or deleting old with reallocate.

Additional question: if i making boolean CUT (reverse of FUSE), how i can detect only deleted edges (and maded new) ?

Mikhail Sazonov's picture

You need to use the history of the Boolean operation. See the methods SetToFillHistory() and History(), or the retro ones Modified(), Generated(), IsDeleted().