Regressions that appeared in OCCT 6.6.0 are fixed.
Correction of test cases for issue #25813
Reference data update for test case bugs/mnodalg_6 /bug25908
fd->Side(FS.IsSide(tol,myToler*10));
Standard_Boolean inverted = Standard_False;
if (fd->WithOutL() && !fd->Side()) {
- //inverted = OrientOutLine(face,*fd);
+ inverted = OrientOutLine(face,*fd);
OrientOthEdge(face,*fd);
}
if (fd->Side()) {
--- /dev/null
+puts "============"
+puts "OCC25813"
+puts "============"
+puts ""
+######################################################
+# regression in Hidden Line Removal
+######################################################
+
+pcylinder cc 10 30
+pcylinder cc2 8 50
+ttranslate cc2 0 0 2
+bfuse result cc cc2
+vinit
+vdisplay result
+vfit
+vhlr on
+vhlrtype algo result
+
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png
--- /dev/null
+puts "============"
+puts "OCC25813"
+puts "============"
+puts ""
+######################################################
+# regression in Hidden Line Removal
+######################################################
+
+restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] result
+
+vinit
+vdisplay result
+vfit
+vhlr on
+vhlrtype algo result
+
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png
--- /dev/null
+puts "============"
+puts "OCC25813"
+puts "============"
+puts ""
+######################################################
+# regression in Hidden Line Removal
+######################################################
+
+ptorus result 30 10
+vinit
+vdisplay result
+vfit
+vhlr on
+vhlrtype algo result
+
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png
--- /dev/null
+puts "============"
+puts "OCC25813"
+puts "============"
+puts ""
+######################################################
+# regression in Hidden Line Removal
+######################################################
+
+restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] result
+
+vinit
+vdisplay result
+vfit
+vhlr on
+vhlrtype algo result
+
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png
--- /dev/null
+puts "============"
+puts "OCC25813"
+puts "============"
+puts ""
+######################################################
+# regression in Hidden Line Removal
+######################################################
+
+restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] result
+
+vinit
+vdisplay result
+vfit
+vhlr on
+vhlrtype algo result
+
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png
set nbshapes_expected "
Number of shapes in shape
- VERTEX : 165
- EDGE : 83
+ VERTEX : 161
+ EDGE : 81
WIRE : 0
FACE : 0
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
- SHAPE : 249
+ SHAPE : 243
"
checknbshapes result -ref ${nbshapes_expected} -t -m "HLRToShape"