Polygon Triangulation
Daniel Vlasic
Algorithm -- Triangulating a Monotone Polygon -- Adding
Diagonals
-
if vj is on the chain opposite to the reflex
vertices on the stack
-
vj must be the lower
endpoind of a single edge e bounding the funnel
-
we can add diagonals from vj to all vertices
on the stack except the last one (bottom of the stack)
-
the last vertex on the stack is the top endpoint of e,
so it is already connected to vj
-
so
-
pop all vertices off the stack and connect them to vj
(except the last one)
-
push vj and the lowest reflex vertex onto
the stack

back next