You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Voronoi edges near the edges of the square [1,2]^2 often have an endpoint way outside of the square. Is it possible -- in the voronoiedges function -- to restrict the line segments such that both endpoints are always inside or on the border of the square?
The text was updated successfully, but these errors were encountered:
the current behaviour is correct, the only thing restricted inside the allowed region is the generator points, so yes, the Voroni cells can go outside, I don't see a problem here
It's definitely correct if you want the unrestricted Voronoi tesselation. But sometimes I want the intersection of the tessellation with allowed region. It's of course possible to compute intersections between the line segments and the square, but it would be nice to avoid it.
The Voronoi edges near the edges of the square [1,2]^2 often have an endpoint way outside of the square. Is it possible -- in the
voronoiedges
function -- to restrict the line segments such that both endpoints are always inside or on the border of the square?The text was updated successfully, but these errors were encountered: