]> OCCT Git - occt-copy.git/commit
0029323: Intersection algorithm produces the curve with oscillation
authornbv <nbv@opencascade.com>
Mon, 13 Nov 2017 10:55:48 +0000 (13:55 +0300)
committeremv <emv@opencascade.com>
Mon, 20 Jan 2020 06:30:08 +0000 (09:30 +0300)
commita8375ceaf0c51ec0c006a12db1120c3fad04b1ef
tree8e166447485b9ec9fa2cb64b8cb6d718afaa38a8
parent55374b512e43ed62480474ef6220470807d3cfca
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 ~0072580 (see issue #28557).

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

The reason of the correction is explained in the message ~0072583 (see issue #28984).
src/IntPatch/IntPatch_WLineTool.cxx
tests/bugs/modalg_6/bug27615
tests/bugs/modalg_7/bug28557 [new file with mode: 0644]
tests/bugs/modalg_7/bug28892_2
tests/bugs/modalg_7/bug28892_3
tests/bugs/modalg_7/bug28984
tests/bugs/modalg_7/bug29323 [new file with mode: 0644]