This code contains the performance benchmarks that were used in [1] in order to
evaluate the Surface_mesh data structure.


== Prerequisites ==============================================================

CMake is required as a build configuration system. In order to successfully
compile the benchmarks you need to have the following libraries installed:

- Mesquite
- CGAL
- OpenMesh

A version of Surface_mesh is contained within this source tree and will
be build automatically.



== Build Instructions =========================================================

Create a build directory and run cmake to configure your build system:

$ mkdir build
$ cd build
$ cmake ..

If the required libraries are not found automatically make sure that the
following environment variables are set:

 MESQUITE_DIR  -- The prefix of your Mesquite installation, e.g., /usr/local/
 CGAL_DIR      -- The directory containing your CGALConfig.cmake
 OPENMESH_DIR  -- The prefix of your OpenMesh installation, e.g., /usr/local/

On Unix-like systems, Makefiles are generated by default. To build the
benchmarks just run

$ make



== Usage ======================================================================

To run the benchmarks for all libraries type

$ ./performance <path_to_your_model.off>

Executables for individual libraries are build as well, e.g.

$ ./cgal_performance <path_to_your_model.off>



== References =================================================================

[1] "Design, Implementation, and Evaluation of the Surface_mesh Data Structure"
    Daniel Sieger and Mario Botsch
    Proceedings of the International Meshing Roundtable 2011, pp. 533-550