-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Allow validation to look at more than the object itself #1697
Comments
Thank you for opening this issue, @A-Walrus! I actually think validation works as it should right now. You have to consider two things:
Now consider, what happens if we have a cube with side length 1, and translate that by 1 unit to the right? The updated half-edges on the left of the translated cube are now coincident with the half-edges on the right of the original cube. But they don't refer to the same (If they did refer to the same So what's the solution? Well, checking for coincident half-edges isn't actually a Does that make sense? Those issues you referenced were written sloppily, and should have included that information already. Sorry for that! |
Makes sense thanks! |
Currently we can validate certain individual objects (
Face
s,HalfEdge
s,Cycle
s, etc...)Some of the validation checks that we want to do involve looking at more than just the object itself, for example validating that:
All "equal" (up to epsilon)
HalfEdge
s refer to the same global edge. This would involve validating more than just theHalfEdge
alone, it needs access to the context which contains the otherHalfEdge
s.This is required for things like: #1608 #1594
Maybe we need to change how validation works to allow these kind of checks...
The text was updated successfully, but these errors were encountered: