const clipPolygons: ( polygons: XY[][][], minX: number, minY: number, maxX: number, maxY: number, ) => { lines: XY[][], rings: XY[][] }
packages / map / src / util / tesselate.ts