We can apply this in our example. Since the new site, C, is located in what is currently cell B, we begin by drawing the perpendicular bisector of BC. We can find the equation of this bisector using the locations of B and C:
mBC=6−27−(−1)=48=2⟹−mBC1=−21
Using point-gradient form, we find the equation of PB(BC) to be
We start drawing on the border of the paper in cell B, and stop once we reach an already-existing edge. The line we are drawing (in red) is the first of the edges around C. Stopping at the edge between A and B creates a new vertex (the big blue dot on the diagram).
Remember that our goal is to redivide our existing Voronoi diagram to create the boundaries of C's cell. Once we hit the edge of B, we're done carving out the parts of B's old cell that now lie in C's, and instead shift our focus to the parts of A's cell that are closer to C than A.
Again, since edges are perpendicular bisectors, to divide out the parts of A's cell that are closest to C, we'll find the perpendicular bisector of AC and begin drawing it from the vertex.
mAC=6−(−4)7−5=102=51⟹−mAC1=−5
Using point-gradient form, we find the equation of PB(AC) to be
This line ends beyond the border of our "paper," so we're done drawing the edges of C's cell. All that's left to do is to erase the old edges that now lie in C and color it in instead.
These same steps work when adding a site to any Voronoi diagram.