VERY WIP!
https://www.sciencedirect.com/science/article/pii/S259014861930007X
This is a work in progress port of the work from "Clipping simple polygons with degenerate intersections" by Erich L Foster, Kai Hormann, and Romeo Traian Popa.
The original paper is in C++, the target language is TypeScript.