d3-geo-polygon
d3-geo-polygon copied to clipboard
cut not clip
Can we use this to cut (instead of clipping) to the polygon.
Would be useful to avoid disappearing points that are just on the edge of the polygon in polyhedral projections. See https://github.com/d3/d3-geo-projection/pull/132#issuecomment-367648819
Proposed API:
- clip.clipPoints(false) would not clip the points only lines and polygons.
or:
- clip.pointTolerance(epsilon) keep points close to the edge (default: epsilon)
🤔