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

Fixed the code that computes intersection #8525

Closed
wants to merge 2 commits into from

Conversation

efifogel
Copy link
Member

@efifogel efifogel commented Oct 7, 2024

Fixed the code that computes intersections in the polycurve traits (Arr_polycurve_traits_2).

Summary of Changes

The code of the Intersection_2 functor was developed from scratch.
The old code only supported polylines (by mistake), that is, chains of segments.
The new code supports intersections of chains of any type of sub-curves.
It turns out that the new code is ~15% more efficient.
While at it, I replaced 'typedef' statements with modern 'using' statements.

Release Management

Apparently, there is no "CHANGES.md" file yet for 6.1, so I'll add an entry that informs about this fix after it is introduced (to 'master' and 'master' is merged to this branch.)

  • Affected package(s): Arrangement_on_surface_2
  • Issue(s) solved (if any): fix Arrangement insert throws bad_get #8468
  • Feature/Small Feature (if any):
  • Link to compiled documentation (obligatory for small feature) wrong link name to be changed
  • License and copyright ownership: TAU

@lrineau
Copy link
Member

lrineau commented Oct 9, 2024

Hi Efi. The issue #8468 was reported against CGAL-5.4. This pull-request is for master. Should not it be backported to release branches? CGAL-5.4.x is no longer supported, but maybe 5.5.x-branch?

@efifogel
Copy link
Member Author

efifogel commented Oct 9, 2024 via email

@afabri
Copy link
Member

afabri commented Oct 9, 2024

It is rather non-minimalistic with all these using changes.

@efifogel
Copy link
Member Author

efifogel commented Oct 9, 2024 via email

@sloriot sloriot closed this Oct 14, 2024
@sloriot sloriot deleted the Aos_2-polycurve-efif branch October 14, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arrangement insert throws bad_get
4 participants