Fil / d3-geo-voronoi

Voronoi / Delaunay tessellations on the sphere
ISC License
229 stars 24 forks source link

long edges? #16

Open Fil opened 5 years ago

Fil commented 5 years ago

Should the mesh contain the long edges? It would be more consistent to have that, and also include the large triangle, so that the union of all triangles would cover the whole globe. It's possible to do so now that the triangulation is clean, but it means we need to insert intermediate points when an edge is 180°.

Ref. https://github.com/Fil/d3-geo-voronoi/commit/daf7b88f161ffb0c07b7ee5fa860960457ad8411, reverted in https://github.com/Fil/d3-geo-voronoi/commit/daf7b88f161ffb0c07b7ee5fa860960457ad8411

(note: this would be a breaking change)