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