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

Aos 2 metadata traits decorators efif #8592

Merged
merged 20 commits into from
Dec 4, 2024

Conversation

efifogel
Copy link
Member

@efifogel efifogel commented Nov 6, 2024

Summary of Changes

Introduces two traits decorators, namely Arr_tracing_traits_2 and Arr_counting_traits_2, which can be used to extract debugging and informative metadata about the traits in use while the program is being executed. They have been part of the CGAL distribution for several years now . (Probably more than a decade.) I gave it a face lift, wrote the necessary documentation, and added a small example program called count_and_trace.cpp.

Release Management

  • Affected package(s): 2D Arrangements (Arrangement_on_surface_2)
  • Issue(s) solved (if any): NA
  • Feature/Small Feature (if any): Aos 2 Metadata Traits Decorators -- Pre-approval date 2024/11/12
  • Link to compiled documentation (obligatory for small feature) Manual
  • License and copyright ownership: TAU

Copy link
Contributor

@albert-github albert-github left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just read quickly through the file, same problems might exist in other files.

@efifogel
Copy link
Member Author

efifogel commented Nov 7, 2024 via email

@afabri
Copy link
Member

afabri commented Nov 8, 2024

trailing whitespace

Copy link
Contributor

@albert-github albert-github left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also run something like /build:v0 to create the documentation so you can check it.

@@ -727,18 +667,18 @@ class Arr_counting_traits_2 : public Base_traits {
{ ++m_counter3; return m_object(xcv1, ce1, xcv2, ce2); }
};

/*! A functor that compares the x-coordinates of curve ends near the
/*! A functor that compares the \f$x\f$-coordinates of curve ends near the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here the x is shown as a formula but at other places the y of y-coordinate is not shown as a formula ...

@efifogel
Copy link
Member Author

efifogel commented Nov 10, 2024 via email

@sloriot sloriot added Enhancement Pkg::Arrangement_on_surface_2 pre-approved For pre-approved small features. After 15 days the feature will be accepted. Under Testing labels Nov 12, 2024
@efifogel
Copy link
Member Author

efifogel commented Nov 13, 2024 via email

@efifogel
Copy link
Member Author

efifogel commented Nov 14, 2024 via email

@sloriot
Copy link
Member

sloriot commented Nov 20, 2024

Successfully tested in CGAL-6.1-Ic-22

@sloriot sloriot added Accepted small feature and removed pre-approved For pre-approved small features. After 15 days the feature will be accepted. labels Dec 4, 2024
@sloriot sloriot merged commit ca8898c into CGAL:master Dec 4, 2024
9 checks passed
@sloriot sloriot deleted the Aos_2-metadata_traits_decorators-efif branch December 4, 2024 13:06
@github-actions github-actions bot removed the Tested label Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

This pull-request was previously marked with the label Tested, but has been modified with new commits. That label has been removed.

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.

4 participants