Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] lloyd optimization mesh 2 assertion failure


Chronological Thread 
  • From: Chris Marsh <>
  • To: <>
  • Subject: [cgal-discuss] lloyd optimization mesh 2 assertion failure
  • Date: Thu, 22 Feb 2018 17:25:13 -0600
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=Pass
  • Ironport-phdr: 9a23:pY1AnRLhz87pMTP/N9mcpTZWNBhigK39O0sv0rFitYgRL/zxwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwtFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhicJOTA67W/ZlNB/gblBrx69vRFy2ZLYbJ2XOfd4Y6jTfckaRW1EXstJSSFBApm8b4oUD+EcOuhXtZP9p0AOrRCjAgSjGOPvyiVJhn/tx6E61v4uERvd3AwgBN8OrW/Uo8/uNKcRS+y60LPHwCzFYvhL1zn9743IfQogofGKRb9/bcXRxlMrFw/fiVWQs4PlMjWI3eoOq2iW9/dsWfyshmI9tQ18rDaiyt0yhoXUho8Z0E7I+CpkzIotO9G0VEp2bcSnHZZQrS2WKZV6T804T211uis21LsLsoOhcicQ0pQo3RvfZuSHc4eW5hLjU/6cITJii3JkfLKznQuy8VO6xe3nVcm4ykpFoTBdntnNsHACyQDT59CaRvdj/UqtwyiD2g7d5+1eP0w4iKrWJ4Q/zrM/i5YfqUHDETX3mEXygq+WbEIk+u2w5uv7YrXmvJ6cN5RuhgH7KKsugNe/AeQjPwgTRGiU4/+81L758ULlWrpGluc2nbXBsJDGOcQboba0DBNa0ok57xazFiqp0NUDnXYbMVJFYwmHgpPyO1DOJfD4Fe2wj06tkDdt3fDGP6fuDo/DLnjZw//deuMp4EFVzE8/zMtU+olPIrAHOvP6HEHr4o/2FBg8Zie02ef8QPB0zJgeETaEArWYK+XXuEWT5soyOOCXZ8kesWCueLAe+/fygCphyhcmdq6z0M5PMSHqLrFdO0ycJEHUrJIEGGYOsBA5SbWy2kCZWCVQIX27DftlumMLTbm+BIKGfbiDxaSb1X7jTIBNb3tFTFuFQy+xKte0HswUYSfXGfdP1zwJUb/4Ft0k3BCq8hLhwqFkaOHdqHQV

Hi,

I've been successfully meshing a 2D domain with the CDT as per 
https://doc.cgal.org/latest/Mesh_2/index.html

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