Implement a Delaunay refinement mesh generation algorithm