7 #############################
8 ## Extrema_ExtPS gives wrong solution.
9 #############################
11 restore [locate_data_file OCC486.draw] s
13 # Case 1. Verify whether surface is u-periodic and v-periodic
14 set result [isperiodic s]
16 set uper "is u-periodic"
17 set vper "is v-periodic"
18 if {[regexp $uper $result] && [regexp $vper $result]} {
19 puts "OCC486 case 1 - Faulty"
21 puts "OCC486 case 1 - OK"
24 # Case 2. Verify extremum distance between point and surface
26 point p3d -420.1170080179139 926.8792206000001 229.5109675013802
27 if { [ catch { OCC486 s -420.1170080179139 926.8792206000001 229.5109675013802 0 0.0000001 } ] } {
28 puts "OCC486 case 2 - Faulty"
30 puts "OCC486 case 2 - OK"
33 checkview -display result -2d -path ${imagedir}/${test_image}.png