5 ######################################################################
6 # The function BRepTools::UVBounds gives wrong result for the face
7 ######################################################################
14 regexp {([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)} [xbounds b1] dump x1 y1 x2 y2
15 if { $x1 > 1.e-10 || $y1 != 1500 || $x2 > 1.e-10 || $y2 != 1500} {
16 puts "Error: Case1: Wrong boundaries of the face"
18 puts "OK: Case1: Correct boundaries of the face"
22 circle c1 1361.60462531413 1500 275.105307765905 0 1 0 182.781239888725
30 regexp {([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)} [xbounds b1] dump x1 y1 x2 y2
31 if { $x1 > 1.e-10 || $y1 != 1500 || $x2 > 1.e-10 || $y2 != 1500} {
32 puts "Error: Case2: Wrong boundaries of the face"
34 puts "OK: Case2: Correct boundaries of the face"
38 circle c2 398.623694869499 1500 5.77182937332096 0 1 0 181.948898616306
46 regexp {([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)} [xbounds b1] dump x1 y1 x2 y2
47 if { $x1 > 1.e-10 || $y1 != 1500 || $x2 > 1.e-10 || $y2 != 1500} {
48 puts "Error: Case3: Wrong boundaries of the face"
50 puts "OK: Case3: Correct boundaries of the face"
54 circle c3 66.2457890511211 1500 832.500519113239 0 1 0 176.393473166564
62 regexp {([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)} [xbounds b1] dump x1 y1 x2 y2
63 if { $x1 > 1.e-10 || $y1 != 1500 || $x2 > 1.e-10 || $y2 != 1500} {
64 puts "Error: Case4: Wrong boundaries of the face"
66 puts "OK: Case4: Correct boundaries of the face"
70 circle c4 1177.73545803307 1500 1406.03245550006 0 1 0 150.768085993996
78 regexp {([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)\n([-0-9.+eE]+)} [xbounds b1] dump x1 y1 x2 y2
79 if { $x1 > 1.e-10 || $y1 != 1500 || $x2 > 1.e-10 || $y2 != 1500} {
80 puts "Error: Case4: Wrong boundaries of the face"
82 puts "OK: Case4: Correct boundaries of the face"