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

Clean up Surface #1080

Merged
merged 11 commits into from
Sep 13, 2022
Merged

Clean up Surface #1080

merged 11 commits into from
Sep 13, 2022

Conversation

hannobraun
Copy link
Owner

Simplify Surface, clean up the nomenclature it uses, and bring its API in line with that of other objects.

This is a simplification that I should have done a long time ago.

I figured, it is only a matter of time, before we add more types of
surfaces, so I thought it made sense to keep `Surface` an enum. That
might well be true, but in the meantime, this decision makes lots of
code more complicated. Once we want to add more types of curves, we can
easily turn `Surface` into an enum again.
`curve` and `path` hardly tell a clear story. I think it's better to
name the fields after the coordinate system axes they define.
Continues the introduction of new nomenclature that began in the
previous commit.
This follows the example set by other objects.
@hannobraun hannobraun merged commit d556e19 into main Sep 13, 2022
@hannobraun hannobraun deleted the surface branch September 13, 2022 16: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