1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-05 11:24:17 +03:00
occt/tests/bugs/modalg_6/bug26582
pkv 4c15f1799b 0026582: Wrong result obtained by Common operator
class BOPAlgo_WireSplitter
   - static function:
Standard_Real Angle2D (const TopoDS_Vertex& aV,
                         const TopoDS_Edge& anEdge,
                         const TopoDS_Face& myFace,
                         const GeomAdaptor_Surface& aGAS,
                         const Standard_Boolean bIsIN)
The treatment of circles has been chenged to prevent
the loss of accuracy due to small differences in large values.

Small correction of test case for issue CR26582

Test case for issue CR26582

Conflicts:
	src/BOPAlgo/BOPAlgo_WireSplitter_1.cxx
2015-09-11 15:22:55 +03:00

40 lines
653 B
Plaintext
Executable File

puts "============"
puts "OCC26582"
puts "============"
puts ""
###############################
## Wrong result obtained by Common operator.
###############################
restore [locate_data_file bug26582_bx.brep] bx
explode bx
copy bx_1 b1
copy bx_2 b2
bclearobjects
bcleartools
baddobjects b1
baddtools b2
bfillds
bbop result 0
set square 39.1778
set nbshapes_expected "
Number of shapes in shape
VERTEX : 5
EDGE : 7
WIRE : 3
FACE : 3
SHELL : 1
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 20
"
checknbshapes result -ref ${nbshapes_expected} -t -m "result obtained by Common operator"
set 3dviewer 1