Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Limiting the maximum length of an edge in a Delaunay triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Limiting the maximum length of an edge in a Delaunay triangulation


Chronological Thread 
  • From: Pol Monsó Purtí <>
  • To:
  • Subject: Re: [cgal-discuss] Limiting the maximum length of an edge in a Delaunay triangulation
  • Date: Thu, 12 May 2016 16:42:11 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:eiEhtxI2eeyt6boqLtmcpTZWNBhigK39O0sv0rFitYgUI/rxwZ3uMQTl6Ol3ixeRBMOAu6MC0rud7PyocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWC3oLuhqvtp9X6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD86FpyshbTK+vf7gkVacKS3M9ImUt7YvqswPCRE2B/DwHQ2AOm11JBQbCqxr1V5O0virhvfdmw3qmOpj9QrkwHDij9Kx2UwTAiSEdNjd//nuEpNZ3ifdjpxbpght52BWcWJyPKH82KqfZYNUTA2xGQM95WClIA4f6ZIwKWblSdd1EppXw8gNd5SC1AhOhUbvi

Mmh I still get long edges.

I've tried lowering S as well, and cdt.number_of_vertices() always returns the same value.
I am also writing into an OFF file to check the triangulation.

Does the refine set more edges to the infinite vertex? How does it modify the cdt?

I've checked is_in_domain as well, but all faces returned by locate answer false to is_in_domain().

    CGAL::refine_Delaunay_mesh_2(cdt, Criteria(0.1, 0.1));

cdt is a constrained delaunay triangulation plus 2

Am I doing something wrong?



On Thu, May 12, 2016 at 2:51 PM, Pol Monsó Purtí <> wrote:
Just found it!

CGAL::refine_Delaunay_mesh_2(cdt, Criteria(0.125, 0.5));

Exactly what I was looking for.

Thanks Sebastien

On Thu, May 12, 2016 at 2:09 PM, Sebastien Loriot (GeometryFactory) <> wrote:
Have a look at the 2D mesh generation package:

http://doc.cgal.org/latest/Mesh_2/index.html


Sebastien


On 05/12/2016 02:04 PM, Pol Monsó Purtí wrote:
Hello!

Is it possible to limit the edge maximum length in a constrained
delaunay triangulation? I didn't find any reference to this in the
documentation.




--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss




Attachment: mesh.PNG
Description: PNG image




Archive powered by MHonArc 2.6.18.

Top of Page