occt: master faaa95cb

Author Committer Branch Timestamp Parent
nbv bugmaster master 2017-11-13 10:55:48 master 48a2dd20
Changeset 0029323: Intersection algorithm produces the curve with oscillation

Sometimes the algorithm of purging of extra points in the walking line makes enormous difference in distance between two neighbor segments of the line. This badly impacts the quality of approximation result. This patch balances the difference in distances by forbidding deletion of some points.

1. tests/bugs/modalg_6/bug27615

The reason of the correction is explained in the message 0028557:0072580 (see issue 0028557).

2. tests/bugs/modalg_7/bug28892*
   tests/bugs/modalg_7/bug28984

The reason of the correction is explained in the message 0028984:0072583 (see issue #28984).
mod - src/IntPatch/IntPatch_WLineTool.cxx Diff File
mod - tests/bugs/modalg_6/bug27615 Diff File
add - tests/bugs/modalg_7/bug28557 Diff File
mod - tests/bugs/modalg_7/bug28892_2 Diff File
mod - tests/bugs/modalg_7/bug28892_3 Diff File
mod - tests/bugs/modalg_7/bug28984 Diff File
add - tests/bugs/modalg_7/bug29323 Diff File