Added Do_intersect functor to traits classes and cleaned up
Summary of Changes
This is the first phase of fixing #9151. I submit it separately, as it involves several source files, and I'd like to start testing on various platforms.
I've added the functor Do_intersect to all traits classes.
In particular, I added a robust implementation to the following traits:
- Arr_segment_traits_2
- Arr_non_caching_segment_traits_2
- Arr_linear_traits_2
- Arr_geodesic_arc_on_sphere_traits_2
- Arr_line_arc_traits_2.h
- Arr_circular_arc_traits_2.h
- Arr_circular_line_arc_traits_2.h I used Intersect to implement Do_intersect in the traits below. These implementations are not robust when using inexact constructions
- Arr_circle_segment_traits_2
- Arr_conic_traits_2
- Arr_Bezier_traits_2
- Arr_rational_function_traits_2
- Arr_algebraic_segment_traits_2
Release Management
- Affected package(s): Arrangement_on_surface_2
- Issue(s) solved (if any): partial fix of #9151
- Feature/Small Feature (if any):
- Link to compiled documentation (obligatory for small feature) wrong link name to be changed
- License and copyright ownership:
------------------------------------------------------------------
- Arrangement_on_surface_2/ProgramOutput.test_traits_segments__data_segments_do_intersect__segment_traits
------------------------------------------------------------------
Error: cannot open file data/segments/do_intersect
and new warnings in CGAL-6.2-Ic-60
ops. I fixed it.
/_____/) o /_________ __ // (____ ( ( ( (/ (/-(-'_(/ _/
On Thu, 11 Dec 2025 at 10:26, Sebastien Loriot @.***> wrote:
sloriot left a comment (CGAL/cgal#9177) https://github.com/CGAL/cgal/pull/9177#issuecomment-3640788861
- Arrangement_on_surface_2/ProgramOutput.test_traits_segments__data_segments_do_intersect__segment_traits
Error: cannot open file data/segments/do_intersect
and new warnings in CGAL-6.2-Ic-60
— Reply to this email directly, view it on GitHub https://github.com/CGAL/cgal/pull/9177#issuecomment-3640788861, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVBNOBABM7RNX2SDVX6LWT4BETB7AVCNFSM6AAAAACOQF44BKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTMNBQG44DQOBWGE . You are receiving this because you authored the thread.Message ID: @.***>