Delaunay triangulation implementation in c++