1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_6/bug26112
emv 5e18f91719 0026112: Exception is raised during perform of General Fuse operation
class BOPAlgo_WireSplitter
method
Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
                               const TopoDS_Edge& aE,
                               const TopoDS_Face& myFace,
                               const Standard_Real aA1,
                               const Standard_Real aA2,
                               Standard_Real& aA)

Protection from null vector.

Test case for issue CR26112
2015-04-30 13:33:11 +03:00

39 lines
651 B
Plaintext
Executable File

puts "============"
puts "OCC26112"
puts "============"
puts ""
###############################
## Exception is raised during perform of General Fuse operation
###############################
restore [locate_data_file bug26112_c.brep ] c
explode c
bclearobjects
bcleartools
baddobjects c_1
baddtools c_2
bfillds
bbuild result
set square 122.7
set nbshapes_expected "
Number of shapes in shape
VERTEX : 7
EDGE : 10
WIRE : 5
FACE : 4
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 27
"
checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by General Fuse operator"
set 3dviewer 1