occt: master eee615ad

Author Committer Branch Timestamp Parent
nbv bugmaster master 2016-02-24 09:59:36 master 93e38faa
Changeset 0027282: [Regression to 6.9.1] smesh/bugs_00/A6: Cut produces an empty shape

1. The reason of the regression is not-closed intersection result. This problem has been solved (in this fix) by adding joint point to the both neighbors intersection lines (lines were extended to the this intersection point). It is made in IntPatch_WLineTool::ExtendTwoWlinesToEachOther(...) method.

2. Interface of IntPatch_PointLine and inherited classes has been changed. Methods ChangeVertex(...) and RemoveVertex(...) have been added.

Test cases for this issue have been created.

Small correction in the code.
mod - src/IntPatch/IntPatch_Intersection.cxx Diff File
mod - src/IntPatch/IntPatch_PointLine.hxx Diff File
mod - src/IntPatch/IntPatch_RLine.hxx Diff File
mod - src/IntPatch/IntPatch_RLine.lxx Diff File
mod - src/IntPatch/IntPatch_WLine.hxx Diff File
mod - src/IntPatch/IntPatch_WLine.lxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.cxx Diff File
mod - src/IntPatch/IntPatch_WLineTool.hxx Diff File
mod - src/IntSurf/IntSurf_PntOn2S.cxx Diff File
mod - src/IntSurf/IntSurf_PntOn2S.hxx Diff File
add - tests/bugs/modalg_6/bug27282_1 Diff File
add - tests/bugs/modalg_6/bug27282_2 Diff File