Skip to content
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

Surface_mesh::join does not seem to link free elements correcly #3375

Closed
Simon-Lopez opened this issue Oct 5, 2018 · 3 comments
Closed

Surface_mesh::join does not seem to link free elements correcly #3375

Simon-Lopez opened this issue Oct 5, 2018 · 3 comments

Comments

@Simon-Lopez
Copy link
Contributor

Issue Details

When chaining free elements (vertices, faces and edges) in Surface_mesh::join method the role of self and other seem to be inverted.

Environment

  • CGAL version: latest
@Simon-Lopez
Copy link
Contributor Author

The problem does not come from chaining but probably to adding something to the maximum numeric value that gives a smaller size_type object.

Simon-Lopez added a commit to Simon-Lopez/cgal that referenced this issue Oct 5, 2018
@Simon-Lopez
Copy link
Contributor Author

The problem comes from the first part of the join method that adds an offset to all of the element imported from the other Surface_mesh object (the one that is joined into the current one), This offset invalidate the chain of freed elements.

@lrineau lrineau added this to the 4.14-beta milestone Oct 8, 2018
lrineau pushed a commit to lrineau/cgal that referenced this issue Oct 10, 2018
lrineau added a commit that referenced this issue Oct 29, 2018
lrineau added a commit that referenced this issue Oct 29, 2018
lrineau added a commit that referenced this issue Oct 29, 2018
@lrineau lrineau modified the milestones: 4.14-beta, 4.12.2 Oct 29, 2018
@lrineau
Copy link
Member

lrineau commented Oct 29, 2018

Fixed by #3377. Will by in CGAL-4.12.2 and CGAL-4.13.1.

@lrineau lrineau closed this as completed Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants