-
Notifications
You must be signed in to change notification settings - Fork 33
Adds a curved polygon class to primal #844
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
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
13e007d
Added sectorArea() to BezierCurve, CurvedPolygon class with area func…
davidgunderman c2e5479
Added some helper functions in BezierCurve and CurvedPolygon
davidgunderman 20a135b
Added more CurvedPolygon tests
davidgunderman 4bf7636
More curved polygon tests
davidgunderman 23fcc1c
Added tolerances to CurvedPolygon functions, unit tests for area, dt …
davidgunderman 151835c
Improves documentation, error checking and testing of binomialCoeffic…
kennyweiss d4c3337
Makes Matrix's default constructor public
kennyweiss beab6f8
Refactors and tests the BezierCurve sectorArea() weights calculation
kennyweiss 13b1544
Reworks memoization of BezierCurve::sectorArea() matrices
kennyweiss e628052
Added sectorMoment() to BezierCurve, moment() to CurvedPolygon, tests…
davidgunderman f5daa38
Build system: Adds missing openmp and/or mpi dependency to quest test…
kennyweiss 0b203fe
Added reverseorientation functions to BezierCurve and CurvedPolygon c…
davidgunderman 55d8649
Renamed sectorMoment to sectorCentroid in BezierCurve class and tweak…
davidgunderman 0a456e0
More tolerance tweaking
davidgunderman 35ff2a0
Reformatted tests for CurvedPolygon
davidgunderman feed77e
Added/refactored some CurvedPolygon tests
davidgunderman 4611077
Bugfixes for curved polygon tests in MSVC
kennyweiss 6e1c302
primal's BezierCurve::dt should return a Vector rather than a Point
kennyweiss a73c6cd
Minor updates to CurvedPolygon
kennyweiss 638f85f
Fixes warnings from clang compiler
kennyweiss 6e84b7f
Minor cleanup for BezierCurve and CurvedPolygon classes and tests
kennyweiss 2d6cc60
Use initializer lists to construct points and vectors for Bezier curv…
kennyweiss eeec51e
Bugfix: Curved polygon with only two edges can be closed
kennyweiss e680f86
Adds empty() and boundingBox() to primal::CurvedPolygon
kennyweiss 62fc789
Includes axom/config.hpp in primal's intersect header
kennyweiss 1446ba9
Renamed `primal::Polygon::centroid()` to `primal::Polygon::vertexMean()`
kennyweiss ad93e45
Use axom::Array in primal::Polygon instead of std::vector
kennyweiss 2c18c8e
Outsources moment computation (area and centroid) in BezierCurve and …
kennyweiss c4ea106
Adds linear interpolation `lerp` function to axom utilities
kennyweiss b65b41b
Outsources implementation details for compute_sector and compute_area…
kennyweiss 28cb69c
Opt: perform in-place BezierCurve::reverseOrientation()
kennyweiss 8ea7ee5
Opt: perform in-place CurvedPolygon::reverseOrientation()
kennyweiss f9edc6e
Slight clean up of `primal::CurvedPolygon::isClosed()`
kennyweiss a8850ac
BezierCurve intersection only works in 2D, so remove NDIMS template p…
kennyweiss 312326b
Updates copyright year
c699374
Updates RELEASE-NOTES
kennyweiss f59b94c
Minor changes per PR suggestions
kennyweiss 7dca106
Minor clarifications to README
kennyweiss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.