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 sure that the coordinate systems of locally defined curves match #1982

Merged
merged 5 commits into from
Aug 3, 2023

Conversation

hannobraun
Copy link
Owner

Curves (which define the geometry of half-edges) are defined locally, in surface coordinates. For that to be valid, those local definitions need to result in the same curves in 3D space, of course. And they already did, but the coordinate systems of those curves would not always match. That meant, if you converted a point in local curve coordinates, say 0, into global 3D coordinates, you could get different points, according to which local definition you used.

This wasn't a problem so far, but it has started to become one. #1968 is an example of that, but #1937 is blocked by that also.

This pull request fixes all existing coordinate system mismatches, and adds a validation check to make sure those can never happen again, meaning any code dealing with curves can now rely on the coordinate systems to always make sense.

Close #1973

@hannobraun hannobraun merged commit 1dbd876 into main Aug 3, 2023
4 checks passed
@hannobraun hannobraun deleted the curve branch August 3, 2023 06:22
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.

Validate that coordinate systems of curve definitions match
1 participant