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

segmentIntersect, lineIntersect?

Open Fil opened this issue 5 years ago • 0 comments

Line Intersection is much simpler than clipping (https://github.com/d3/d3-polygon/issues/4), at least if we don't care for the difficult cases. It would be useful, for example, in quadtree.findInPolygon (https://github.com/d3/d3-quadtree/issues/30 & https://observablehq.com/d/54a6e96b6630b0d9). [EDIT] findInPolygon is not staying.

Fil avatar Jun 26 '20 16:06 Fil