]> 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>
Fri, 29 Jun 2018 10:55:05 +0000 (13:55 +0300)
commitf1c54119fba2d114a0f90898b0eb03b66e3732dc
treed6aaf231f1c7dffab3b705ab2d4afb9b6b829303
parent6ab70ce3baed15a5db30ec2557a9aac6554af886
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]