Hi all,
I need a spot of help, if someone can. I'm working on deriving the Voronoi diagram of a set of points. I already have the Delaunay triangulation of those points, and therefore can easily calculate the perpendicular bisectors I need.
The problem is, I'm having trouble figuring out how to assign the start and end points to each final Voronoi edge. I'm not sure how to determine if a given intersection constitutes a better endpoint than the ones I already have. My classic outlier case at the moment is figuring the Voronoi diagram for the following points (using standard blitz screen X,Y):
a - 0,5
b - 5,2
c - 10,5
d - 10,0
In that case, triangle ABC has a Voronoi line that terminates well south of the triangle itself.
I need a spot of help, if someone can. I'm working on deriving the Voronoi diagram of a set of points. I already have the Delaunay triangulation of those points, and therefore can easily calculate the perpendicular bisectors I need.
The problem is, I'm having trouble figuring out how to assign the start and end points to each final Voronoi edge. I'm not sure how to determine if a given intersection constitutes a better endpoint than the ones I already have. My classic outlier case at the moment is figuring the Voronoi diagram for the following points (using standard blitz screen X,Y):
a - 0,5
b - 5,2
c - 10,5
d - 10,0
In that case, triangle ABC has a Voronoi line that terminates well south of the triangle itself.
