59495dbe |
1 | puts "================" |
2 | puts "OCC23511" |
3 | puts "================" |
4 | puts "" |
5 | ######################################################################### |
6 | # The function BRepTools::UVBounds provides incorrect result for a face |
7 | ######################################################################### |
8 | |
9 | restore [locate_data_file bug23511_f1] result |
10 | |
11 | set info [xbounds result] |
12 | |
13 | set 2PI [expr 2 * 3.142] |
14 | foreach bound ${info} { |
15 | puts "bound = ${bound}" |
16 | if { ${bound} < 0 || ${bound} > ${2PI} } { |
17 | puts "Error : bad bound ${bound}" |
18 | } |
19 | } |
20 | |
21 | set 2dviewer 1 |