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

Avoid creating duplicate GlobalCurves when transforming half-edge #1152

Merged
merged 10 commits into from
Sep 28, 2022

Conversation

hannobraun
Copy link
Owner

As part of addressing #1079, GlobalCurve will no longer contain geometric data, but instead just be an empty trait that only exists to determine whether two curves are different, or map to the same GlobalCurve. This implies that GlobalCurve equality no longer has any meaning, but GlobalCurve identity does. I've written about this in more detail before.

A lot of code created duplicate but equal GlobalCurves. This happened to work, but is now turning into an error, as those duplicate GlobalCurves have different identities, which is going to trigger validation errors going soon. This pull request removes one source of duplicate GlobalCurves: the code that transforms half-edges. This is another step towards addressing #1079.

@hannobraun hannobraun merged commit a013be7 into main Sep 28, 2022
@hannobraun hannobraun deleted the ready/transform branch September 28, 2022 14:00
@hannobraun hannobraun mentioned this pull request Sep 28, 2022
6 tasks
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