Category Archives: Fade2D Examples

Example6 – Mesh Generator

The Delaunay Mesh Generator of Fade creates meshes in a polygonal area. The triangles in these meshes meet the specified quality criteria like minimum interior angle or maximum edge length. The present article covers the straightforward refine() method. If you need detailed control over the mesh generation process read also Advanced Mesh Generator. Preparing the […]

Read More

Example5 – Boolean Operations

Boolean Operations on Polygons We use the term Zone to denote polygonal areas in a triangulation. Fade provides functions to combine Zones through the boolean set operations Union Intersection Difference Symmetric Difference Preparing the initial situation We start similarly as in example4 creating two polygons (ConstraintGraph2 objects). But this time the constraint graphs pCG1 and […]

Read More

Example4 – Zone and Area

Zones are among the most powerful concepts in Fade. A zone defines an area in a (Constrained) Delaunay triangulation. Zones can be combined using boolean set operations such as union and difference, a quality mesh can be constructed inside a zone and the triangles of a zone can be extracted. Zones can be defined in […]

Read More

Example3 – Constraint Edges

Create a simple Delaunay triangulation Inserting constraint edges And now assume that we want to enforce an edge from the lower left to the upper right corner. There are two different insertion strategies: Code for Constrained Delaunay We prepare a vector of one or more constraint segments and call createConstraint() using the constraint insertion strategy […]

Read More

Example2 – Access Elements

Development is so much easier when you can visualize geometric situations. Lern how to draw geometric primitives using Fade’s Postscript writer Visualizer2. The present Example2 will go over a triangulation and access specific elements like triangles, their neighbors, opposite points or Voronoi cells and draw them. That’s it. Under Windows you can use Evince, GSView […]

Read More

Example0 – Getting Started

Getting Started with the Fade Delaunay Triangulation The Delaunay triangulation library supports 2D and 2.5D, hence it comes as two separate libraries, Fade2D and Fade2.5D. They have a common code base and thus they are very similar to use. The difference is a z-coordinate and additional functionality in the 2.5D version. To facilitate your start […]

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.

Close