Changes:
class IntTools_FaceFace
- static function:
void CorrectSurfaceBoundaries(const TopoDS_Face& theFace,
const Standard_Real theTolerance,
Standard_Real& theumin,
Standard_Real& theumax,
Standard_Real& thevmin,
Standard_Real& thevmax)
Remove unnecessary broadening of UV-bounds for the faces based on the sperical surfaces.
Test case for issue CR24400
enlarge=Standard_True;
}
//
- if (aType==GeomAbs_Sphere) {
- Standard_Real dV;
- //
- dV=thevmax-thevmin;
- if (dV+delta<M_PI) {
- enlarge=Standard_True;
- }
- }
- //
if(!isuperiodic && enlarge) {
if((theumin - uinf) > delta )
-puts "TODO OCC23991 ALL: Error : Result shape is WRONG"
puts "============"
puts "OCC23991"
puts "============"
--- /dev/null
+puts "============"
+puts "OCC24400"
+puts "============"
+puts ""
+#######################################################################
+# Wrong result obtained by Section
+#######################################################################
+
+restore [locate_data_file bug24075_b1.brep] b1
+restore [locate_data_file bug24075_b2.brep] b2
+
+bop b1 b2
+bopsection result
+
+set nb_v_good 2
+set nb_e_good 1
+set nb_w_good 0
+set nb_f_good 0
+set nb_sh_good 0
+set nb_sol_good 0
+set nb_compsol_good 0
+set nb_compound_good 1
+set nb_shape_good 4
+
+set 2dviewer 1