Made BLI_delaunay_2d_cdt_calc better at tiny feature elimination.

The 'random' unit tests and some examples from the new boolean code
triggered asserts and crashes. This fixes those.
There is a new flag in the input that optionally disables a pass
over input to snap segment edges to other segments.
This commit is contained in:
2020-02-29 13:23:44 -05:00
parent a52eb7489f
commit cb8b424c6b
4 changed files with 1543 additions and 522 deletions

View File

@@ -1649,6 +1649,7 @@ static PyObject *M_Geometry_delaunay_2d_cdt(PyObject *UNUSED(self), PyObject *ar
in.faces_start_table = in_faces_start_table;
in.faces_len_table = in_faces_len_table;
in.epsilon = epsilon;
in.skip_input_modify = false;
res = BLI_delaunay_2d_cdt_calc(&in, output_type);