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

Define face orientation by the winding of its exterior cycle #1066

Merged
merged 11 commits into from
Sep 9, 2022
Merged

Conversation

hannobraun
Copy link
Owner

This allows for a drastic simplification of the face and cycle reversal code, and the complete removal of the surface and curve reversal code.

Disables some more sweep tests for the time being, but also puts us in a good position to fix those tests now. I plan to do that in a follow-up commit.

Close #695

Make the required `clone` operation explicit.
This is preparation for defining face orientation not by its surface's
coordinate system, but by the winding of its exterior cycle.
Instead of just assuming a right-handed coordinate system. This is more
preparation for defining face orientation by exterior winding.
This is another building block for defining face orientation by exterior
winding.
This commit also includes a big simplification of face/cycle reversal,
as the new approach doesn't work with the old, more complex approach.

Ignores some more of the sweep tests, for now. I plan to address this
later, in a separate pull request.
@hannobraun hannobraun enabled auto-merge September 9, 2022 13:04
@hannobraun hannobraun merged commit 5374f13 into main Sep 9, 2022
@hannobraun hannobraun deleted the face branch September 9, 2022 13:07
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.

Handle surface orientation in a simpler and more robust way
1 participant