
Computational Geometry: Homework 2. Due: 2/6/2004
1. Design an efficient algorithm to determine whether for a polygon Pwith
nvertices there is a rotation that makes it monotone.
2. Let Pbe a simple polygon and Cits convex hull. Assume that you are
given a triangulation of C(i.e. planar subdivision of Cinto triangles)
such that the union of some number of triangles in that triangulation
is equal to P. Let Qbe a convex polygon. Show that the intersection
P∩Qcan be computed in linear time (O(n+m), where nis the number
of vertices in Qand mis the number of triangles in the triangulation).
3. Prove that any polygonal region of the plane (possibly with holes) can
be triangulated. Express the number of triangles as a function of the
number of edges and number of holes.
4. Is it true that every monotone polygon has a triangulation whose dual
graph has no vertex of degree 3? (prove your claims)
5. A simple polygon is star shaped if there is a point inside it which can see
all of its edges. Design a (ideally, deterministic) linear-time algorithm
which decides whether a simple polygon is star shaped or not.
6. ntrains are moving along parallel tracks, with constant speeds vi. At time
0 the location of the i-th train is ki(say, measured from the beginning
of the tracks). Compute all trains that will lead at least for a moment
in O(nlog n) time.
7. You are given a point pinside a simple polygon Pwith nvertices. Com-
pute (as efficiently as you can) the region inside Pwhich is visible from
p.
1