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 validation check #2267

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Remove redundant validation check #2267

merged 1 commit into from
Mar 18, 2024

Conversation

hannobraun
Copy link
Owner

This check essentially verified that the length of a half-edge is non-zero, but I don't think this is actually important. At least I can't think of a reason why it wouldn't work, and there might be legitimate use cases.

What is important, is whether the vertices that bound the half-edge are coincident, but in this regard, this check could have lead to false positives, as the half-edge could be bounded by the same vertex on both sides.

In addition, there are other validation checks that check for coincident vertices, either existing in code, or tracked in issues.

This check essentially verified that the length of a half-edge is
non-zero, but I don't think this is actually important. At least I can't
think of a reason why it wouldn't work, and there might be legitimate
use cases.

What is important, is whether the vertices that bound the half-edge are
coincident, but in this regard, this check could have lead to false
positives, as the half-edge could be bounded by the same vertex on both
sides.

In addition, there are other validation checks that check for coincident
vertices, either existing in code, or tracked in issues.
@hannobraun hannobraun enabled auto-merge March 18, 2024 11:24
@hannobraun hannobraun merged commit 08c3def into main Mar 18, 2024
4 checks passed
@hannobraun hannobraun deleted the validation branch March 18, 2024 11:27
@hannobraun
Copy link
Owner Author

Removing this validation check also un-complicates what I'm currently working on for #2116, which is how I got to thinking about this validation check in the first place.

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