d3-geo-polygon icon indicating copy to clipboard operation
d3-geo-polygon copied to clipboard

planar polygon clipping

Open Fil opened this issue 6 years ago • 1 comments

The Imago projection needs to use polygon clipping; but it seems a bit absurd that we are doing spherical clipping (with 200 control points computed as the inverse of 200 planar points) just to do what is in the end a simple rectangular clipping. The thing is tricky because, so close to the limit, the spherical interpolation between control points might jump from one side to the other.

Fil avatar Feb 28 '19 10:02 Fil

See https://github.com/d3/d3-polygon/issues/4

Fil avatar Jul 10 '20 17:07 Fil