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

Fix Variable Size Arrays in GeomUtilities.cpp #35

Open
srwopschall opened this issue Nov 1, 2023 · 0 comments
Open

Fix Variable Size Arrays in GeomUtilities.cpp #35

srwopschall opened this issue Nov 1, 2023 · 0 comments
Assignees

Comments

@srwopschall
Copy link
Collaborator

We have a lot of routines that have to size arrays based on variable number of overlapping polygon vertices. Some compilers will not like this.

This operation can be done in place using something like this:
https://github.com/LLNL/axom/blob/c35431a1ee71a7c46fe54805e8aa5278120d613e/src/axom/primal/geometry/BezierCurve.hpp#L296-L301

@srwopschall srwopschall self-assigned this Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant