Category Archives: Fade2.5D Examples

Cut and Fill Volumes in C++

Cut And Fill (Wikipedia) Earthwork volume computations for C++. The library module Cut And Fill takes two overlapping surfaces and computes the volume between. The result is a set of volumes where soil must be filled or where material must be digged off to turn one surface into the other one. Example Source Code The […]

Read More

Segment Checker for Segment Intersections

Given a set of line segments, the fast C++ class Segment Checker detects if any two segments intersect. Intersection points (or segments in the collinear case) are computed. Segment Checker accepts 2D and 2.5D segments and it copes with glancing segment intersections. With the example source code below you can integrate it into your software […]

Read More

Advanced Delaunay Meshing

Delaunay meshing inside polygons has already been introduced in Example6 – Mesh Generator. The present article describes advanced Delaunay meshing for users who want full control over the mesh generation process. The provided example source code uses Fade2.5D and most of the described techniques exist also in Fade2D. The initial zone The source code snippet […]

Read More

2.5D Terrain Triangulation

Fade 2.5D triangulates xyz-points from terrains like lidar data, surface laser scans and other surface metrology techniques. The library is very fast, one million points (two million triangles) take half a second on a recent desktop CPU. Reading the terrain points The source code described in this post is contained in the download, see examples_25D/terrain.cpp. […]

Read More

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.