1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00
Files
occt/tests/bugs/modalg_6/bug26080
pkv b85b0b0731 0026080: Wrong result obtained by General Fuse operator.
Changes:
class IntTools_FClass2d
- method:
 TopAbs_State IntTools_FClass2d::Perform
 (const gp_Pnt2d& _Puv,
 const Standard_Boolean RecadreOnPeriodic) const
 has been changed.
 The value of tolerance
For the value of tolerance for classification,
the minimum (among UResolution, VResolution) value is used.

Test case for issue CR26080
2015-04-23 18:22:59 +03:00

39 lines
650 B
Plaintext
Executable File

puts "============"
puts "OCC26080"
puts "============"
puts ""
###############################
## Wrong result obtained by General Fuse operator.
###############################
restore [locate_data_file bug26080_qef001.brep] q
explode q
copy q_1 b1
copy q_2 b2
bclearobjects
bcleartools
baddobjects b1 b2
bfillds
bbuild result
set square 1.36058e+06
set nbshapes_expected "
Number of shapes in shape
VERTEX : 7
EDGE : 6
WIRE : 1
FACE : 1
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 16
"
checknbshapes result ${nbshapes_expected} 1 "Result obtained by General Fuse operator"
set 3dviewer 1