GEOMETRIC ALGORITHMS