Follow these steps to set up the Fade2D Library in your development environment:
The Fade library is available in two specialized versions: one for 2D and another for 2.5D.
Fade2D is a classic 2D Delaunay triangulation library that offers the following features:
Fade2.5D is an elevated Delaunay triangulation library for 2.5D point clouds. It extends the 2D version with a z-coordinate and additional algorithms designed for Digital Elevation Models (DEM), including:
Although Fade2.5D can handle all tasks performed by Fade2D, using Fade2D for pure 2D triangulations is more efficient: it produces smaller binaries, consumes slightly less memory, and removes the need to specify the redundant z-coordinate as 0.
examples_2D/vs2022_exampleProject/examples_2D.sln
.examples_2D.exe
will be placed in the x64/
directory.When linking the triangulation library with your own project, the following table might be helpful:
Visual Studio | IDE | Platform Toolset |
---|---|---|
VS2010 | v10 | Toolset v100 or Windows 7.1 SDK |
VS2012 | v11 | Toolset v110 |
VS2013 | v12 | Toolset v120 |
VS2015 | v14 | Toolset v140 |
VS2017 | v15 | Toolset v141 |
VS2019 | v16 | Toolset v142 |
VS2022 | v17 | Toolset v143 |
$ sudo apt-get install libgmp10
This command works on Debian-based systems, including Ubuntu, Debian, and Raspbian.
cd examples_2D
.DISTRO
line to select your platform (mac, or your Linux distribution).make
to compile the example source code. The executable will be placed in the current directory.Below are links to articles that provide practical C++ examples using the Fade libraries. The corresponding source code is included in the download. Explore how to work with various features of the library, from basic triangulations to real-world applications:
try/catch
blocks to investigate the cause.