| If you do not know, what a delaunay triangulation is, you can read more about it here and here. This C++ library module is just a wrapper class on the Triangle package of Jonathan. Many times I have had to use triangle in C++ code bases of mine and have been forced to use C. At last I thought I would put a wrapper on his cool C code and it seems that this is what I got. The design is not perfect and the code was written in a day, but it does compile and run on the machines I tried (cygwin/redhat). The C++ wrapper will certainly slow access down if you want to mess with the triangulation but the basic delaunay triangulation should be as fast as triangle. Look at the del_interface.hpp file for getting started on what this wrapper can do for you. Also have a look at main.cpp which shows an example of using this class. The class is thread-safe.
Requirements : Python, make and C++ compilers. Supported C/C++ Compilers: g++ / icpc (Intel C++). Also needed is doxygen for generating documentation.
Compilation : Just type 'make'
Testing : Goto the bin directory, and type './test ../data/input.dat' (after compilation of course).
|
|
1.4.6