]> OCCT Git - occt-copy.git/commit
0026075: Make Extrema_GenExtCC return IsParallel flag in case of parallel curves
authoraml <aml@opencascade.com>
Thu, 4 Jun 2015 11:13:58 +0000 (14:13 +0300)
committerabv <abv@opencascade.com>
Wed, 2 Sep 2015 22:56:53 +0000 (01:56 +0300)
commita99ae14b48be9d87b7f27bc357f051b13d93e74c
treec75c0ebd3772b4fe9e043b2bddf8abc72c0335b5
parent32b95ded373038bceb5c407d22fdbde8e530e4f7
0026075: Make Extrema_GenExtCC return IsParallel flag in case of parallel curves

1) Added check for parallel curves.
2) Changed unefficient o(n^2) duplicates deleting algorithm to o(n) algorithm.
3) Deleted useless upper level duplicates deleting algorithm.

Test-case for issue #26075
src/Extrema/Extrema_ExtCC.cxx
src/Extrema/Extrema_ExtCC2d.cxx
src/Extrema/Extrema_GenExtCC.cdl
src/Extrema/Extrema_GenExtCC.gxx
src/math/math_GlobOptMin.cxx
tests/bugs/modalg_6/bug26075 [new file with mode: 0644]