occt: master 63fa56bc

Author Committer Branch Timestamp Parent
azv afokin master 2022-04-08 11:03:53 master a29bae45
Affected Issues  0032915: Geom2dAPI_InterCurveCurve, The algorithm lost an intersection point.
Changeset 0032915: Geom2dAPI_InterCurveCurve, The algorithm lost an intersection point.

Get rid of strange code: preliminary check of self-intersections is made on a polygonal representation of a curve, it is able to find possible intersections, but after that it filter out segments neighbor to the pair of non-intersected segments.

Test case de step_4 I1 has been marked BAD, because the self-intersection is treated correctly, but the projection algorithm generates such crooked 2D curve.

Reference data in test cases heal split_angle_advanced ZA5 and ZA6 has been updated, because those shapes have self-intersected edges, which are being detected now.
mod - src/IntCurve/IntCurve_IntPolyPolyGen.gxx Diff File
add - tests/bugs/modalg_8/bug32915 Diff File
mod - tests/de/step_4/I1 Diff File
mod - tests/heal/data/advanced/ZA5 Diff File
mod - tests/heal/data/advanced/ZA6 Diff File