Delaunay Mesh Generator – Example6

The Delaunay Mesh Generator of Fade creates quality 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 initial situation

The code below creates two polygons (ConstraintGraph2 objects). Then it creates a zone between them by growing the zone’s area from a seed point. There is nothing new in this code snippet if you have worked through the previous examples. The images below show the two polygons and the original triangular mesh between.

Best Practices

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.