Closed kenohori closed 10 years ago
Implementing the odd/even rule on constraints is difficult without a great deal of work, so our solution right now only works for some cases. Specific problems to be solved:
This could be solved by correct odd/even counting on constraints, but how?
The solution: instead of using Constrained_triangulation_plus_2, use a custom insert_constraint() that:
Needs testing, but implemented in branch improvements-with-ogr
The CGAL constraint hierarchy doesn't always behave how we want. When we remove a part of a constraint, the number_of_enclosing_constraints() is still 1. This can cause issues when 3 or more constraints overlap.