]> OCCT Git - occt-copy.git/commit
0027151: Exception is raised during performing command "splitshape" in the Test Harness
authorgka <gka@opencascade.com>
Wed, 2 Mar 2016 08:01:02 +0000 (11:01 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 7 Apr 2016 16:34:27 +0000 (19:34 +0300)
commit9b4132dcc2de4f5d1651b5d5808e73b5301391e3
tree80df989f2627ac184f67e79f589c1ecda05b2abd
parent91fcd5079f8b3f87cd5b32d2a6e9a94a11eb9a70
0027151: Exception is raised during performing command "splitshape" in the Test Harness

Added protection for cases of the overlapped edges.
Returning value for methods in the LocOpe_SplitShape::AddOpenWire(), LocOpe_SplitShape::AddClosedWire() are modified from void to boolean in order to avoid raising exceptions.
To avoid regression for test case modalg_5 bug25243 tolerance of vertices of the degenerated edges are increased to value of tolerance of the splitting vertex for case when splitting vertex was projected on  the degenerated edge.
src/LocOpe/LocOpe_SplitShape.cxx
src/LocOpe/LocOpe_SplitShape.hxx
src/LocOpe/LocOpe_Spliter.cxx
src/LocOpe/LocOpe_WiresOnShape.cxx
tests/bugs/modalg_6/bug27151 [new file with mode: 0644]