Subject: CGAL users discussion list
List archive
- From: Alessio Mochi <>
- To: "" <>
- Subject: [cgal-discuss] corefine crash with emscripten
- Date: Wed, 21 Oct 2020 09:57:38 +0000 (UTC)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:UM+6mBd8qXKTpRee5UFtQif+lGMj4u6mDksu8pMizoh2WeGdxcS8bR7h7PlgxGXEQZ/co6odzbaP7Oa/BSdQv96oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vLhi6twfcu8YZjYZhK6s61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9ZwgbpVrhyhuRJxwJPab46JO/pwea3QZskVSXZaUclKTSFNHoGxYo0SBOQBJ+ZYqIz9qkMSoBu6GwasH/jvyj5PhnTr2qM61PguEQHH3Ac9GN8BqnDUo8vuNKcJUOC1y7fEwSjeY/5U1zrw55PFcxA7rvGMWrJwdtDdyUgzFw7ciFibtIPqMS+P2OsXr2ib8/RvVfipi2M/tgx/rDqiyMkoh4XVhI8Y1l7K+Cd5zog7JdC1TFN3bN66HJZMtyyXOYt7Tt8mTm11uCs3yqMLtJymcSQU1JkpyBjSYOGEfYiQ+h/uV+ScLS1miH9qe7+znQu+/VW8xuHmVcS53lBHpTdfnNbWrHACzRnT59CHSvRj+keh3i6C1xvU6uFCIEA7iaTWJ4I/zrIpiJYfrV7PETPxmEXwl6+Wc18k9vKt6+v9Y7XmooWQN45uig3gKKgvmtawAeQ/MggJRWSU5eO81Lj78U34RrVFkOE2n7HavZ3YP8gXuKG0DgxP3oo+9hqzEy2q3dcWkHUfKVJKYhOHj4znO1HUJ/D4CO+yjE6okDh13PDGJbzhApLTInTejbvsf7hw5kFHxQsz199f55VUCrYbLPLyRk/9rMbYAQMhMwyo3+bnD81w2Z8RWW2VBq+VKb7dsV6T5u0zPumMf5QVtS3mK/kl4v7ulWU2lUUcfamvx5sXaWq3Eu5oI0WDMjLQhYJLGmgDuk8yTffhlUaZeT9VfXe7GawmrHlvA42vCcLPR5umnaea9Ca9BJxfIG5cXAOiC3DtIqyAVuwXaSXaB8hqkj1MAbGlRpQ61Bb07ValkOZPP+PU/SpetI61h4s93PHaiRxnrW88NM+ayWzYFzgpzFNNfCc/2eVEmWI4ylqH1vMp0edfE91YvKsTF11ic5Xbyfd/EZb3UwPFONaTEhC3S9WhBnc6Sddjm4ZfMXY4IM2ri1X45wTvBrYUk7KRA5ltqvDN1nj2IIB81ySfjfVzvxwdWsJKcFaeqOtn7QGKX9zYmkWekOCrafZE0Q==
Hello,
I tried to compile cgal 5.1 with emscripten and boost 1_62.
I had to bypass a piece of code in Interval_nt.h
#if 0
CGAL_assertion_msg(-CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1),
"Wrong rounding: did you forget the -frounding-math option if you use GCC (or -fp-model strict for Intel)?");
CGAL_assertion_msg(-CGAL_IA_DIV(-1., 10) != CGAL_IA_DIV(1., 10),
"Wrong rounding: did you forget the -frounding-math option if you use GCC (or -fp-model strict for Intel)?");
#endif
and use boost 1_62 to get a correct compilation.
Many example work, but the corefine example crash on one CGAL_triangulation_assertion( s != LEFT_TURN );
CGAL-5.1/include/CGAL/Triangulation_2.h at line 928
This is the code where crash happen
Vertex_circulator start = incident_vertices(infinite_vertex());
Vertex_circulator pc(start);
Vertex_circulator qc(start); ++qc;
Vertex_circulator rc(start); ++rc; ++rc;
do {
Orientation s = orientation(pc->point(),
qc->point(),
rc->point());
CGAL_triangulation_assertion( s != LEFT_TURN );
result = result && ( s != LEFT_TURN );
++pc ; ++qc ; ++rc;
} while(pc != start);
does anyone have any idea how to fix this problem?
Thanks in advance.
- [cgal-discuss] corefine crash with emscripten, Alessio Mochi, 10/21/2020
- Re: [cgal-discuss] corefine crash with emscripten, Sebastien Loriot (GeometryFactory), 10/21/2020
- Re: [cgal-discuss] corefine crash with emscripten, Alessio Mochi, 10/21/2020
- Re: [cgal-discuss] corefine crash with emscripten, Sebastien Loriot (GeometryFactory), 10/21/2020
Archive powered by MHonArc 2.6.19+.