Subject: CGAL users discussion list
List archive
- From: Marius Kintel <>
- To:
- Subject: Re: [cgal-discuss] bad triangles in 2D Delaunay triangulation
- Date: Mon, 1 Dec 2014 09:55:14 -0500
On Dec 1, 2014, at 08:49 AM, artem blonskii <> wrote:
Hi everyone!
I'm trying to build a triangulation of 2D figure. But it fails for some
figures, because bad triangles are produced. These triangles are built by
points which lie at the one line. I identify these triangles by the area.
Does anybody know how to fix it?
If you just want to triangulate, you don’t need to use a Mesher.
You can request a valid triangulation directly from the CDT. If you need to support concave input (or even input with holes), you can walk your boundary and tag what’s inside/outside.
For an example of how I do it, see tessellatePolygon() or tessellatePolygonWithHoles() here:
-Marius
- [cgal-discuss] bad triangles in 2D Delaunay triangulation, artem blonskii, 12/01/2014
- Re: [cgal-discuss] bad triangles in 2D Delaunay triangulation, Marius Kintel, 12/01/2014
- Re: [cgal-discuss] bad triangles in 2D Delaunay triangulation, artem blonskii, 12/02/2014
- Re: [cgal-discuss] bad triangles in 2D Delaunay triangulation, Marius Kintel, 12/01/2014
Archive powered by MHonArc 2.6.18.