Software and libraries

Throughout this internship, several key libraries were employed to achieve the project’s objectives, ensuring efficient data processing, geometric modeling, and overall system functionality:

  1. JSON for Modern C++: This library was used for parsing the config.json configuration file, enabling the program to read and apply various settings necessary for terrain mesh generation and simulation.

  2. cURL and libpng: The cURL library, in conjunction with libpng, was utilized for sourcing elevation data from Mapbox. cURL handles the transfer of data from the Mapbox API, while libpng processes the PNG images containing the elevation data, making it accessible for mesh generation.

  3. CGAL: The CGAL (Computational Geometry Algorithms Library) library was a critical component for geometric modeling in this project. It was used specifically to create constrained Delaunay triangulations. These triangulations were essential for generating optimized terrain meshes that accurately represent the topography while maintaining consistency along contour lines.



References