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: Wed, 29 Jun 2016 18:11:59 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:puihuBBuNah8Pwhn/LWgUyQJP3N1i/DPJgcQr6AfoPdwSP79o8bcNUDSrc9gkEXOFd2CrakV06yP7uuxAiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd+KyZ3qnLHps7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0roGxsvKcq+MdEFKn7ZK8lVqdwDTI8Mmlz6te4mwPESF7FwnIBSGgQjlJyAg7I5QyyHrzemw+9med63SSGJ9zYRLsoXi6zru0jHBvhlT0KMSJ/6mDRh8VtpKlUqRbnoAZwld2HKLqJPeZzK/uONegRQnBMC55c
  • Organization: GeometryFactory

Le Wednesday 29 June 2016 16:34:33 Pol Monsó Purtí a écrit :
> cdt.insert(bbul);
>
> cdt.insert(bbbl);
>
> cdt.insert(bbur);
>
> cdt.insert(bbbr);

Here you have inserted only the four vertices of the box, and not its edges
as
constraints. Use instead:

Vertex_handle v_bbul = cdt.insert(bbul);
Vertex_handle v_bbbl = cdt.insert(bbbl);
Vertex_handle v_bbur = cdt.insert(bbur);
Vertex_handle v_bbbr = cdt.insert(bbbr);

cdt.insert_constraint(v_bbul, v_bbur);
cdt.insert_constraint(v_bbur, v_bbbr);
cdt.insert_constraint(v_bbbr, v_bbbl);
cdt.insert_constraint(v_bbbl, v_bbul);

--
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