Skip to content

Enhance visibility of BezierCurve and NURBSCurve discretization functions #1527

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

Open
kennyweiss opened this issue Apr 1, 2025 · 0 comments
Assignees
Labels
maintenance Issues related to code maintenance Quest Issues related to Axom's 'quest' component usability Related to code usability

Comments

@kennyweiss
Copy link
Member

Our C2CReader class has functionality to discretize a NURBSCurve class into linear segments, either into a user-supplied number of uniform segments per knot interval, or to approximate the curve within a user-specified error tolerance. The result is returned as an unstructured mint mesh of linear segments.

We should move this functionality to quest::Discretize.{hc}pp (https://github.com/LLNL/axom/blob/develop/src/axom/quest/Discretize.hpp) and to return the result as an array of primal::Segment to better match the quest::discretize interface.

This would enable any NURBSCurve user (and perhaps also BezierCurve users) to discretize their curves, rather than just while reading in C2C contours.

@kennyweiss kennyweiss added maintenance Issues related to code maintenance Quest Issues related to Axom's 'quest' component usability Related to code usability labels Apr 1, 2025
@kennyweiss kennyweiss self-assigned this Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Issues related to code maintenance Quest Issues related to Axom's 'quest' component usability Related to code usability
Projects
None yet
Development

No branches or pull requests

1 participant