Introduction to Computational Geometry, Spring 2020

Michael Kazhdan


Assignment 1: Triangulation

Due on February 27 (Thursday) @ 11:59 pm


Announcements


Overview

In this assignment you will implement the algorithms for computing the triangulation of a polygon.

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 Program Works

The program runs on the command line. It reads in a file specifying the input polygon, computes a triangulation, and outputs the triangulation to the specified file. It takes three arguments:

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