99661617 |
1 | puts "##################################################" |
2 | puts "0026647: BRepTools::UVBounds() computes zero range by V" |
3 | puts "##################################################" |
4 | |
5 | # load and check faces |
6 | restore [locate_data_file bug26627_face1.brep] f |
7 | tolerance f |
8 | checkshape f |
9 | |
10 | # get UV bounds |
11 | set bounds [xbounds f] |
12 | |
13 | # check for expected result |
14 | set expected [list {UMin -9.} {UMax 9.} {VMin -9.} {VMax 0.}] |
15 | for {set i 0} {$i < 4} {incr i} { |
16 | checkreal "[lindex $expected $i 0]" [lindex $bounds $i] [lindex $expected $i 1] 1e-9 0. |
17 | } |