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

Merge BoundaryOnCurve and BoundingVertices #1967

Merged
merged 14 commits into from
Jul 27, 2023
Merged

Merge BoundaryOnCurve and BoundingVertices #1967

merged 14 commits into from
Jul 27, 2023

Conversation

hannobraun
Copy link
Owner

There already was some redundancy between those two structs, and my work on #1937 introduces more use cases that would have added more. Unifying them into a single, generic struct seems like the way to go.

This can help prevent mistakes, since the method does not modify the
existing instance.
This is preparation for merging `BoundingVertices` into it.
This is preparation for merging `BoundingVertices` into
`BoundaryOnCurve`.
The new name seems a bit simpler, but no less expressive.
This is preparation for making `CurveBoundary` more convenient to
specify, by preventing implementation details from leaking into the type
signature.
This is preparation for improving some of the trait implementations on
`CurveBoundary`.
Deriving doesn't work well with the associated type. It decides whether
it should derive based on `T`, but whether it actually *can* derive is
based on `T::Repr`.
@hannobraun hannobraun merged commit 8dfb4ff into main Jul 27, 2023
4 checks passed
@hannobraun hannobraun deleted the boundary branch July 27, 2023 08:39
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