What's the reason for the duplication of the data in voronoi.vectors
?
#102
Labels
question
Further information is requested
voronoi.vectors
?
#102
Why does
voronoi.vectors
duplicate the rays on the hull? It should be enough to just store a ray once per hull edge, then we can access the rays at hull vertexi
throughhull[i]
andhull[i+1]
.EDIT: In fact the description
An Uint64Array [vx0, vy0, wx0, wy0, …]
is misleading, as instead it is aFloat64Array
, and the rays are not even quadruples per vertex, instead it seems like the construction of the rays simply does redundant overwrites of possibly previously filled in rays.The text was updated successfully, but these errors were encountered: