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 function to compute area of region bounded by c2c contours #1043

Open
kennyweiss opened this issue Feb 28, 2023 · 0 comments
Open

Add function to compute area of region bounded by c2c contours #1043

kennyweiss opened this issue Feb 28, 2023 · 0 comments
Labels
enhancement New feature or request Primal Issues related to Axom's 'primal component Quest Issues related to Axom's 'quest' component

Comments

@kennyweiss
Copy link
Member

It would be useful to compute the area of the region bounded by a closed set of contours.
For example, this can be used to measure the accuracy of our shaping algorithms.

Since we currently load c2c contours as NURBS curves, we can apply Bezier extraction on each curve (i.e. extract a rational Bezier curve for each knot span) to create a primal::CurvedPolygon for the regions. We already have the ability to compute the area of a closed primal::CurvedPolygon.

@kennyweiss kennyweiss added enhancement New feature or request Quest Issues related to Axom's 'quest' component Primal Issues related to Axom's 'primal component labels Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Primal Issues related to Axom's 'primal component Quest Issues related to Axom's 'quest' component
Projects
None yet
Development

No branches or pull requests

1 participant