s2 icon indicating copy to clipboard operation
s2 copied to clipboard

Implement `s2_rebuild_together()`

Open paleolimbot opened this issue 2 years ago • 0 comments

Right now s2_rebuild() treats all inputs as separate, which can result in problems when simplifying layers like polygon coverages and contour lines where creating new crossing edges would invalidate the layer topology. S2 provides a mechanism to rebuild multiple features together without creating new crossing edges which we should implement here: https://github.com/google/s2geometry/blob/master/src/s2/s2builder.h#L113-L117 .

paleolimbot avatar Jun 23 '22 13:06 paleolimbot