]> OCCT Git - occt.git/commit
0027981: BRepExtrema_DistShapeShape returns not null distance on interfered shapes
authorifv <ifv@opencascade.com>
Thu, 30 Mar 2017 13:44:21 +0000 (16:44 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 5 May 2017 08:27:38 +0000 (11:27 +0300)
commit5be09a153b97ae7eb9428a290807ad02dd001563
tree359a62e40c8462decee9741f2c80c0e1d2b707e2
parentbc001a40308a69cad482e75abe46b8f32266ab9e
0027981: BRepExtrema_DistShapeShape returns not null distance on interfered shapes

The reason of the bug is bad start points on surfaces, which are used by searching roots algorithm as start points for iteration process. Starting with these points algorithm for searching roots of set of equations cannot reach correct root. To find correct start points increasing number of sampling points is applied.
src/Extrema/Extrema_ExtSS.cxx
tests/bugs/modalg_6/bug27981 [new file with mode: 0644]