/*! \file tpp_interface.hpp \brief The main Delaunay C++ class of the Triangle++ wrapper. Use this class to produce Delaunay triangulations. The following description pertains to the original version, the current version was ported to VisualStudio. Thus it doesn't need Python scripts, and is supposed to be used *as it is* in your program! */ /*! \mainpage Triangle++ \section intro Introduction
|
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 tpp_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). |
![]() |