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

Enable vertex validation #278

Merged
merged 1 commit into from
Mar 15, 2022
Merged

Enable vertex validation #278

merged 1 commit into from
Mar 15, 2022

Conversation

hannobraun
Copy link
Owner

@hannobraun hannobraun commented Mar 2, 2022

Vertex validation ensures that vertices are unique: Different vertices that don't have a specific minimum distance to each other are considered identical, which is not allowed. This is a user-visible change that can lead to errors in models that would have previously been accepted.

The immediate advantage of this is, that it is no longer possible to accidentally create distinct vertices that were supposed to be identical, which is a source of bugs. Due to floating point accuracy issues, this kind of thing can easily happen, both in models and in kernel code.

Longer-term, this is the start of a strategy of requiring geometrical relationships to be explicit, and immediately failing if they aren't. I've started to document this.

Close #242

@hannobraun
Copy link
Owner Author

The sweep code has been fixed, and no longer causes vertex validation issues. I've updated the pull request description accordingly.

There are still some issues in the transform code. I have a plan for fixing those, which I'm currently working on.

@hannobraun hannobraun changed the title Implement vertex validation Enable vertex validation Mar 9, 2022
@hannobraun hannobraun force-pushed the validation branch 2 times, most recently from 6ce3009 to a834107 Compare March 11, 2022 16:46
@hannobraun hannobraun marked this pull request as ready for review March 15, 2022 12:50
@hannobraun hannobraun enabled auto-merge March 15, 2022 12:51
@hannobraun hannobraun merged commit b3b7967 into main Mar 15, 2022
@hannobraun hannobraun deleted the validation branch March 15, 2022 12:53
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.

Vertex validation
1 participant