Validate that half-edges in a cycle don't intersect #2159
Labels
topic: validation
Infrastructure for checking various properties of objects, making sure they are valid.
type: feature
New features and improvements to existing features
About
Half-edges in a cycle must not intersect, if the shape that contains the cycle is to be valid. This is currently neither documented nor enforced.
There should be a validation check on the cycle level that makes sure that none of the half-edges with the cycles intersect.
Implementation
The new validation check should go into
validate::cycle
the existing check there (and the numerous checks in the sibling modules) can be used as inspiration on how to implement it.Related Issues
There are a few related issues currently open:
Region
, reducing it to a having single cycle. If that were implemented, then implementing this issue would take care of all cycle intersection validation. If not, we'd need a follow-up issue to this one, to check for intersections between different cycles within a region.None of those other issues are blockers, but in case work on them is ongoing by the time this issue is picked up, this would require coordination of the work.
The text was updated successfully, but these errors were encountered: