-
Notifications
You must be signed in to change notification settings - Fork 264
Description
Hi @klayoutmatthias ,
Sometimes it is useful to filter edge pairs based on those which interact with a Region. I know I can convert the EdgePairs to a region or edges and then run interacting between those two objects. However, in some cases it would be nice to keep the result of the operation as EdgePairs, and I'm not sure if there is a straightforward way to do that today. The best I could think of would be to implement an EdgePairFilter that checks interacting between each of the edges in the pair and Region and returns True if either are True. Obviously this is an extra hoop, and I assume there would also be a performance hit vs. a native implementation in C code.
What do you think about implementing this operation? I think it would be useful, and it seems pretty straightforward.
Thanks,
Troy