0031031: Incorrect result is returned from BRepPrimAPI_MakePrism::Generated()
authorifv <ifv@opencascade.com>
Tue, 8 Oct 2019 11:44:04 +0000 (14:44 +0300)
committerapn <apn@opencascade.com>
Tue, 22 Oct 2019 12:15:43 +0000 (15:15 +0300)
commit44fafc477f979b02201d429a6c145889cf25bdac
tree105a6b8acc41a9e8fcce0ca3719132062fe9a128
parent780fbc28972699f8f6a8f7b36de015d91279d79f
0031031: Incorrect result is returned from BRepPrimAPI_MakePrism::Generated()

1. src\BRepSweep\BRepSweep_NumLinearRegularSweep.cxx

Fix bug by adding result in list of generated shapes, if initial shape is vertex, edge or face.

2. src\BRepLib\BRepLib.cxx

Add protection against treatment not geometric edge in BRepLib::UpdateInnerTolerances(...)

3. Add test case for bug and correct test for bug 30346 according to new behavior of algorithm
src/BRepLib/BRepLib.cxx
src/BRepSweep/BRepSweep_NumLinearRegularSweep.cxx
tests/bugs/modalg_7/bug30346_2
tests/bugs/modalg_7/bug31031 [new file with mode: 0644]