9.   Geometry


This chapter under major construction.

Given a set of points (which can be preprocessed), the problem of determining which points lie in a given interval generalizes to determining which points lie in a given rectangle. Algorithms to solve this problem are important not just in geometry, but in database search.

Do two polygons intersect? Given N geometric objects, do any two intersect? Intersections problems like these are fundamental geometric algorithms. We consider an important application: design rule checking for integrated circuits.

Another fundamental geometric problem is the nearest neighbor problem. Given a set of points, find the one that is nearest to a given point. A generalization of binary search trees is effective for this problem.


Clarkson's notes on computational geometry

Need some model of physical world. Wireframe model with Eiffel tower.

Hidden line elimination - Warnock's algorithm.

Geometric application from David Eppstein.


Java programs in this chapter.

Below is a list of Java programs in this chapter. Click on the program name to access the Java code; click on the reference number for a brief description; read the textbook for a full discussion.


REF PROGRAM DESCRIPTION / JAVADOC