]> OCCT Git - occt-copy.git/commit
0031029: BRepLib::SameParameter regression in OCCT 7.4 from OCCT 7.3
authorifv <ifv@opencascade.com>
Mon, 14 Oct 2019 13:51:52 +0000 (16:51 +0300)
committerabv <abv@opencascade.com>
Mon, 21 Oct 2019 06:58:43 +0000 (09:58 +0300)
commitdd7f2e4c51a9d1477597566abb2c8fdf76d00cca
treeaf474b0f5a90e983237b10dc1c267f0d53c5e0f8
parentd0f892dd9ce28685c9fb8936bae4405919decbb5
0031029: BRepLib::SameParameter regression in OCCT 7.4 from OCCT 7.3

1. BRepLib.cxx: calculation of 2d tolerance is changed in method BRepLib::SameParameter(Edge..)
2. Geom2dConvert.cxx: incorrect comparing
"SquareDistance < tolerance"
is replaced by
"SquareDistance < tolerance*tolerance"
because tolerance is linear value.
src/BRepLib/BRepLib.cxx
src/Geom2dConvert/Geom2dConvert.cxx
tests/bugs/modalg_7/bug31029 [new file with mode: 0644]