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

Remove redundant references to Vertex from GlobalEdge #1644

Merged
merged 14 commits into from
Mar 3, 2023
Merged

Remove redundant references to Vertex from GlobalEdge #1644

merged 14 commits into from
Mar 3, 2023

Conversation

hannobraun
Copy link
Owner

Those references were already available through HalfEdge, making them redundant. Removing them enabled a surprising amount of simplifications, which are also included in this pull request.

Close #1643

The next commit is going to make it redundant.
They were redundant, as they are already available through `HalfEdge`.
With its references to `Vertex` removed, the `Eq`/`PartialEq`/`Ord`/
`PartialOrd` implementations of `GlobalEdge` are misleading and about to
be removed. `HandleWrapper` is needed here, so `HalfEdge` can still
derive those traits itself.
It used to test the normalized ordering of `GlobalEdge`'s references to
`Vertex`, so it is no longer relevant.
@hannobraun hannobraun merged commit e30c9ac into main Mar 3, 2023
@hannobraun hannobraun deleted the edge branch March 3, 2023 11:36
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.

Consolidate redundant references to Vertex
1 participant