occt: master aee24cb5

Author Committer Branch Timestamp Parent
gka bugmaster master 2016-03-02 08:01:02 master e9947e12
Changeset 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.
mod - src/LocOpe/LocOpe_Spliter.cxx Diff File
mod - src/LocOpe/LocOpe_SplitShape.cxx Diff File
mod - src/LocOpe/LocOpe_SplitShape.hxx Diff File
mod - src/LocOpe/LocOpe_WiresOnShape.cxx Diff File
add - tests/bugs/modalg_6/bug27151 Diff File