Implementation of a halfedge datastructure
