0026570: Crash on attempt to rotate a shape.
authorvro <vro@opencascade.com>
Wed, 19 Aug 2015 07:25:11 +0000 (10:25 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 8 Dec 2017 13:39:30 +0000 (16:39 +0300)
commit4e882c7153c62fc54b2c67deac5eb9a22ae796d2
tree81daa6f5b9312e3af0c8a75aa8cee3f04382f445
parent472433e2c7345c113fc7558fd3365eb2768e9be4
0026570: Crash on attempt to rotate a shape.

An extended draw-command trotate (ttranslate, tmirror, ...) by an additional parameter "-copy".
New check of edge range is added in BRepCheck/BRepCheck_Edge.cxx
The same checking is added in ShapeAnalysis_Edge.cxx
Fixing this problem is added in ShapeFix_Wire.cxx
GeomLib::SameRange(...) and BRepTools_TrsfModification::NewCurve2d(...) are modified to avoid exception in TrimmedCurve
13 files changed:
src/BRepCheck/BRepCheck_Edge.cxx
src/BRepTest/BRepTest_BasicCommands.cxx
src/BRepTest/BRepTest_SurfaceCommands.cxx
src/BRepTools/BRepTools_TrsfModification.cxx
src/GeomLib/GeomLib.cxx
src/ShapeAnalysis/ShapeAnalysis_Edge.cxx
src/ShapeAnalysis/ShapeAnalysis_Edge.hxx
src/ShapeFix/ShapeFix_Wire.cxx
tests/bugs/modalg_4/bug697_1
tests/bugs/modalg_4/bug697_5
tests/bugs/modalg_4/bug919
tests/bugs/modalg_7/bug24251
tests/bugs/modalg_7/bug26570 [new file with mode: 0644]