Category Archives: Fade2.5D Examples

Cut and Fill

Earthworks Volume Computation The CutAndFill library module takes two triangulations (TINs) and computes the volume between the overlapping part of the two surfaces. The result is a list of connected areas where soil must be filled or digged off to turn one surface into the other one. Random Surfaces The source code below creates two […]

Read More


Line Segment Intersections – fast and easy to use Given a set of line segments, SegmentChecker detects if any two segments intersect. Intersection points (or segments in the collinear case) are computed. SegmentChecker accepts 2D and 2.5D segments and it copes with glancing intersections. With the example source code below you can integrate it into […]

Read More

Advanced Mesh Generation

Advanced Mesh Generation Standard Delaunay mesh generation inside polygons has already been introduced in the post example6-mesh-generation. The present article describes advanced mesh generation for users who need more control over the mesh generation process. Advanced meshing is demonstrated together with Fade2.5D here but exists also in Fade2D. The initial zone The source code snippet […]

Read More

2.5D Terrain triangulation

2.5D Surface triangulation Fade 2.5D triangulates surface elevation data, surface metrology data, laser scans and more. Fade2.5D has Fade2D as code base and is a 2.5D extension to Fade2D but technically the two are independent libraries. New Fade2.5D users should work through the 2D examples first because they also apply to Fade2.5D. In many cases […]

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.