See the original discussion here: https://www.klayout.de/forum/discussion/1366/intersection-points-of-a-dedge-and-region#latest