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: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Limiting the maximum length of an edge in a Delaunay triangulation
  • Date: Fri, 10 Jun 2016 16:04:42 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:I0dwCxbVlSGCIgiQZYa1xQL/LSx+4OfEezUN459isYplN5qZpcu6bnLW6fgltlLVR4KTs6sC0LqH9f+/EjJfqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7H0pMKYPVoArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kq83RLgdADU9OH0u/+XqswPCRE2B/CgySGITx1BsChXf4RfmFq3wtCbzq6I98wazGYrZQLcxVCi4/oliQwPvkjZGfXZt9GjKkMF2kORBoRSsrgFXyIHdZMeSLvUoLfCVRs8TWWcUBpUZbCdGGI7pN4Y=
  • Organization: GeometryFactory

Le Thursday 12 May 2016 16:42:11 Pol Monsó Purtí a écrit :
> 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?

Probably those long edges are considered as outside the domain.

The constrained edges of the CDT must enclose a domain. Any edge/triangle
that
is outside that domain will be ignored by `CGAL::refine_Delaunay_mesh_2`.

Re-read the section 2.1:
http://doc.cgal.org/latest/Mesh_2/index.html#title5

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page