1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_6/bug25908
jgv 854e0d4a27 0027557: Unstable HLR tests
The following modifications were done for stability:
- Precision::PConfusion() was set as parameter of Classifier instead of 0.0
- Coinciding vertices of outlines are united to exclude neighborhood of common vertex from curve-curve intersection
- Draw command "hlrin3d" was modified to prevent exception

Minor corrections

Corrections of test cases for issue CR27557
2016-06-09 12:38:15 +03:00

37 lines
727 B
Plaintext
Executable File

puts "============"
puts "OCC25908"
puts "============"
puts ""
###############################
## BSpline (U2 < U1) in HLRBRep_HLRToShape
###############################
restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] h1
hprj h1_proj 0 0 0 0 1 0 0 0 1
houtl h1_outl h1
hfill h1_outl h1_proj 0
hload h1_outl
hsetprj h1_proj
hupdate
hhide
hres2d
compound vl v1l vnl vol vil result
set nbshapes_expected "
Number of shapes in shape
VERTEX : 93
EDGE : 47
WIRE : 0
FACE : 0
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 141
"
checknbshapes result -ref ${nbshapes_expected} -t -m "HLRToShape"
checkview -display result -2d -path ${imagedir}/${test_image}.png