Introduction to Computational Geometry, Spring 2020

Michael Kazhdan


Assignment 3: Convex Hulls (3D) and Delaunay Triangulations (2D)

Due on May 4 (Monday) @ 11:59 pm

Announcements


Overview

In this assignment you will implement the Incremental and the Gift-Wrapping algorithms for computing the convex hull in three dimensions. Using these you will implement Edelsbrunner and Seidel's algorithm for computing the Delaunay triangulation in two dimensions.

Getting Started

You should use the code (Assignments.zip) as a starting point for your assignment. You will need to add your code where it says:
/////////////////////////////
// You need to implement this
/////////////////////////////

After you download the files, the first thing to do is compile the program.


How the Programs Works

The program ConvexHull3D runs on the command line. It uses the number of samples specified on the command line to create a random set of points in 3D. It then computes the convex hull and outputs the results to the specified file. The program Delaunay2D runs on the command line. It uses the number of samples specified on the command line to create a random set of points in 2D. It then computes the Delaunay Triangulation and outputs the results to the specified file.

What You Have to Do


Evaluation


Code will be evaluated based on correctness (and efficiency).

Submission


Please email your implemented source code to me. (The code should compile under Windows/Linux and should not require any additional libraries.)
HOME