I would like to link my Fortran 90 application to a library which would give me Delaunay triangulation (for a 2D set of points) and tetrahedralization (for a 3D set of points). As suggested in Fastest Delaunay triangulation libraries for sets of 3D points thread I am going to try TETGEN, which functions as both, a library and a command line utility. By default, TETGEN gives you 3D Delaunay tetrahedralization, and I would like to know if I can also obtain Delaunay triangulation for a set of 2D points using TETGEN. As was pointed out in the comments below, this can be accomplished using TRIANGLE via an API similar to TETGEN, but I would still like to link my code to a single library and not two different ones depending on the dimension.
So, can I use TETGEN with a 2D set of points in addition to 3D? Any other suggestions on what library I can use? The thread above also mentions CGAL.