0027282: [Regression to 6.9.1] smesh/bugs_00/A6: Cut produces an empty shape
authornbv <nbv@opencascade.com>
Wed, 24 Feb 2016 09:59:36 +0000 (12:59 +0300)
committerbugmaster <bugmaster@opencascade.com>
Tue, 29 Mar 2016 12:52:18 +0000 (15:52 +0300)
commiteee615ad2a98d1f55ac157fbee151ffe691ad56e
treec1b6e5a72aa605432effa0a017caabc34c46f056
parent93e38faa3bfd82b8b74149033e167c7d2cd0fee0
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.
12 files changed:
src/IntPatch/IntPatch_Intersection.cxx
src/IntPatch/IntPatch_PointLine.hxx
src/IntPatch/IntPatch_RLine.hxx
src/IntPatch/IntPatch_RLine.lxx
src/IntPatch/IntPatch_WLine.hxx
src/IntPatch/IntPatch_WLine.lxx
src/IntPatch/IntPatch_WLineTool.cxx
src/IntPatch/IntPatch_WLineTool.hxx
src/IntSurf/IntSurf_PntOn2S.cxx
src/IntSurf/IntSurf_PntOn2S.hxx
tests/bugs/modalg_6/bug27282_1 [new file with mode: 0644]
tests/bugs/modalg_6/bug27282_2 [new file with mode: 0644]