d3 / d3-geo-polygon

Clipping and geometric operations for spherical polygons.
https://observablehq.com/collection/@d3/d3-geo-polygon
Other
107 stars 22 forks source link

clipping bug #39

Closed Fil closed 3 months ago

Fil commented 4 years ago

In https://observablehq.com/@fil/oronce-fines-triangle-projection the graticule was properly clipped until d3-geo-polygon@1.7, but it failed with release 1.8.0. I think the offending commit is https://github.com/d3/d3-geo-polygon/commit/eb1e6635c35c3d21eb32c292115922205e89d153 (#160).

Test @ https://observablehq.com/@fil/clipping-bug-39

This is also the reason why #60 (rhombic) had a small rotation. Same bug appears in https://observablehq.com/d/8085f693f9972f0e (#9)