Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] lloyd optimization mesh 2 assertion failure

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] lloyd optimization mesh 2 assertion failure


Chronological Thread 
  • From: Christophe Riedinger <>
  • To:
  • Subject: Re: [cgal-discuss] lloyd optimization mesh 2 assertion failure
  • Date: Tue, 27 Feb 2018 12:06:54 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:7g5njhJnyrIbC8AVNdmcpTZWNBhigK39O0sv0rFitYgRLPvxwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhyUJNzA5/m/ZidF+grxHrx+6vRNz35TZbZuJOPZifK7Qe84RS2pbXsZWUixMGp2xb4sVD+oAJuZYs479p0MOrRSgGAKiGOLvxSFViX/326063PouERvb1wEnA90OsG7UrNTuNKsPX+24w63FwDfYYvNZ3Dfy8onIchQ7rf6QWrJwdNPcxE8yHA3LiVWQrJbqPzKT1ukVr2eb4PBvVea1h24gsQFxrT6izdovhInRno8Z1EzI+CFjzIs2JdC0UlB3bcOmHZdKqi2XNZV6T8U/SG9yoik60KcJuZujcSgK1psnwxnfZuSCc4eS4xLjUP+dISpii355Yb6/iQu+/Eq+xuHmWcm011FKriVBktbSrHwCyxvT6s2fRvt8+EeuxyqP2hjN5u1YJU04j6nWJp47zrIui5Yes17PEjL0lUnolKOWc18r+ums6+TpeLXmoZqcOpdohQH+KKQum9e/Dfk2PwUBW2WW+/+x1LLm/ULjQbVKiuc6nbXesJDfPcgbvLK2AxdJ0oY/7BayFyup0NsCknkDNV5KZROHj5P1NFHTO/D4Fuyyg0+skTdu3/DJJKftApTLLnjZkbfuZ6xx60BGyFl78dcK7J1dDvQNIen4R1TqnN3eFB4wdQKukMj9D9Ao/YMEWHmTBbeZPevosFKE5+QgLvPEMIQVojfmcqN5tqHGgnowmFtbdq6si8hEIEukF+hrdh3KKUHnhc0MRD9T71gOCdfygVjHagZ9InO7XqYy/DY+Udv0AoLKR4Tri7uEjn7iQs9mI1teA1XJKk/GMp2eUq5VOi2XK85l1DcDUOr5EtJz5VSVrAb/joFfAK/U9ykf78yx0dF046jOnEl3+2UrVYKS1GaCS2wylWQNFWc7

Le 23 févr. 2018 00:26, "Chris Marsh" <> a écrit :
Hi,

I've been successfully meshing a 2D domain with the CDT as per 

I've been using an outer domain constraint, and have now started to add interior constraints (lines that represent rivers that should be not crossed by triangles).

This works as expected.

However, when I enable lloyd optimization I have the following error:

Running 1 Lloyd iterations...
CGAL error: assertion violation!
_expression_ : do_intersect(line, m_cdt.segment(face->blinding_constraint()))
File       : /usr/local/include/CGAL/Constrained_voronoi_diagram_2.h
Line       : 392
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
libc++abi.dylib: terminating with uncaught exception of type CGAL::Assertion_exception: CGAL ERROR: assertion violation!
Expr: do_intersect(line, m_cdt.segment(face->blinding_constraint()))
File: /usr/local/include/CGAL/Constrained_voronoi_diagram_2.h
Line: 392

When I use the same domain *without* the interior constraints, the lloyd optimization works as expected.

I've been unable to figure out what is going wrong based on this error message and would appreciate any insight

Cheers
Chris



Archive powered by MHonArc 2.6.18.

Top of Page