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

Make edge approximation more robust #170

Merged
merged 3 commits into from
Feb 10, 2022
Merged

Make edge approximation more robust #170

merged 3 commits into from
Feb 10, 2022

Conversation

hannobraun
Copy link
Owner

This is a pure refactoring, meaning it doesn't actually fix any robustness issues. But it does make the edge approximation code more robust, meaning some requirements on the neighboring curve approximation code are lifted. This will enable adding more interesting curves, which is required for a follow-up refactoring I'm going to tackle next, which is needed to address #97.

With this change, we no longer rely on curve approximations to deliver
accurate representations of the edge vertices. I add a comment in the
commit that explains why relying on this could be a problem.

This change gives the curves some more flexibility. So far, they need to
deliver these accurate representations of the vertices, which limits the
kinds of curves that can be implemented. This limitation is now lifted,
enabling the implementation of other kinds of curves, like lines that
were swept from a vertex.
@hannobraun hannobraun enabled auto-merge February 10, 2022 19:12
@hannobraun hannobraun merged commit baa977d into main Feb 10, 2022
@hannobraun hannobraun deleted the approximate branch February 10, 2022 19:15
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

Successfully merging this pull request may close these issues.

1 participant