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

Add Region3 class #390

Merged
merged 2 commits into from
Mar 21, 2022
Merged

Add Region3 class #390

merged 2 commits into from
Mar 21, 2022

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Mar 18, 2022

🎉 New feature

Summary

Split from #387. This PR introduces a Region3 class to represent regions in R^3 space. To do this, it builds on top of the Interval class introduced by #388.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Michel Hidalgo <[email protected]>
@hidmic hidmic added the MBARI-LRAUV Sponsored by MBARI-LRAUV project: https://github.com/osrf/lrauv label Mar 18, 2022
@hidmic hidmic requested a review from scpeters as a code owner March 18, 2022 21:51
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Mar 18, 2022
@hidmic
Copy link
Contributor Author

hidmic commented Mar 18, 2022

@chapulina PTAL!

@chapulina chapulina self-requested a review March 18, 2022 21:54
@codecov
Copy link

codecov bot commented Mar 18, 2022

Codecov Report

Merging #390 (d7c74a5) into main (5f3c3ed) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage   99.72%   99.72%           
=======================================
  Files          66       67    +1     
  Lines        6189     6219   +30     
=======================================
+ Hits         6172     6202   +30     
  Misses         17       17           
Impacted Files Coverage Δ
include/ignition/math/Region3.hh 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5f3c3ed...d7c74a5. Read the comment docs.

Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

The general idea looks good to me. I have minor comments about documentation and notation, and the only blocker at the moment is CI.

src/Region3_TEST.cc Show resolved Hide resolved
include/ignition/math/Region3.hh Show resolved Hide resolved
include/ignition/math/Region3.hh Show resolved Hide resolved
include/ignition/math/Region3.hh Show resolved Hide resolved
- Avoid chaining global references
- Drop visibility attributes
- Update docblock

Signed-off-by: Michel Hidalgo <[email protected]>
@chapulina chapulina merged commit 289dbc3 into gazebosim:main Mar 21, 2022
@hidmic hidmic deleted the add-region3-class branch March 21, 2022 20:03
@hidmic hidmic mentioned this pull request Mar 23, 2022
39 tasks
ahcorde pushed a commit that referenced this pull request Jul 4, 2022
Signed-off-by: Michel Hidalgo <[email protected]>
chapulina pushed a commit that referenced this pull request Jul 8, 2022
Signed-off-by: Michel Hidalgo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden MBARI-LRAUV Sponsored by MBARI-LRAUV project: https://github.com/osrf/lrauv
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants