-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.3.3] Issue with edge insertion (CDT::IntersectingConstraintEdges::Resolve) #148
Comments
Hello, @egladil86, Thank you very much for opening the issue. Could you please format input as a text file that I could load into CDT visualizer? The format is
for example a single triangle is written as:
|
There is a chance that the bug is introduced after 1.3.0 |
Thanks for the fast reply. |
@egladil86 Could you please check the bugfix branch? Does this work for your test cases? This bug was introduced as a merge error when I was rebasing a branch. If your tests are passing, I will merge this ASAP, make a new release. |
@artem-ogre Yes the fix works for this and all my other testcases. |
Thank you @egladil86. The fix is merged, I added you are on the contributors list. |
There seems to be a problem with edge insertion in [1.3.3] that worked fine in [1.3.0].
It triggers the assertion
assert(triStart != noNeighbor);
in Triangulation.hpp (line 1959) in Debug,or dereferences
triangles[noNeighbor]
in Release.There are two intersecting edges AB and MN.
CDT inserts the intersection point X and splits the two edges accordingly:
The problem occurs, when an edge BC (concatenating AB) is inserted,
because the previous split set
m_vertTris[B] = noNeighbor
(only in [1.3.3]).I was not able to reproduce this with a minimal example.
Please find attached an example program triggering the issue:
CdtEdgeInsertIssue.zip
By default it uses [1.3.3] and crashes.
Configuring cmake with
-DCDT_TAG=1.3.0
the triangulation works fine.If this is not an code issue, but a problem with my input data, I would like to know how to determine that.
The text was updated successfully, but these errors were encountered: