]> OCCT Git - occt-copy.git/commit
0027151: Exception is raised during performing command "splitshape" in the Test Harness
authorgka <gka@opencascade.com>
Thu, 25 Feb 2016 13:32:00 +0000 (16:32 +0300)
committergka <gka@opencascade.com>
Thu, 25 Feb 2016 13:32:00 +0000 (16:32 +0300)
commit2905f5b657fde14639cb68537843fb7caff1bc31
treec8832546afa0f32a02e1d27c931299776d181fc4
parent68d8f06a04e840123a45bc9991ba88c234307392
0027151: Exception is raised during performing command "splitshape" in the Test Harness

Modifications to avoid exception for case overlapped edges was made.
Returned values of the methods LocOpe_SplitShape:AddOpenWire() and LocOpe_SplitShape:AddClosedWire() were modified from void to boolean in order to avoid raising of the exceptions for cases when result wire can not be built.
src/LocOpe/LocOpe_SplitShape.cdl
src/LocOpe/LocOpe_SplitShape.cxx
src/LocOpe/LocOpe_Spliter.cxx
src/LocOpe/LocOpe_WiresOnShape.cxx