Closed rpadovani closed 8 years ago
Did you ever figure this out?
Did you try calling Voronoi.quantizeSites()
on your sites before computing the diagram?
I tried that just now, with the same result. I think I'm running into a problem with clipEdges where the c.vb Vertex is null. Not sure why yet.
This is the input:
{ xl: 11.5658569335938, xr: 11.6853332519531, yt: 44.8761789907703, yb: 44.7924263989408 }
bbox.yt
is greater than bbox.yb
, meaning an empty bbox
, meaning no edge can be found intersecting with it. Reversing the values of bbox.yt
and bbox.yb
works fine.
Thanks for your work on this :)
I'm sure I'm missing something very simple here, but I'm not able to have an useful result.
This is the input:
And this is the output:
There are no edges and no halfedges - what's wrong?
Thanks in advance!