0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / moddata_3 / bug25407_2
CommitLineData
032d0272 1puts "================"
2puts "OCC25407"
3puts "================"
4puts ""
5#######################################################################
6# Exception in extrema operation.
7#######################################################################
8
9restore [locate_data_file bug25407_e2.brep] e
10restore [locate_data_file bug25407_f2.brep] f
11
12mkcurve c e
13mksurface s f
14
15trim st s -0.168011130695572 0. -16.5 0.
16trim ct c 1.1167213545471877e-008 0.033333343614041021
17
18extrema ct st
19
20if { [isdraw ext_1] } {
21 mkedge result ext_1
58cf74e0 22 checkprops result -l 1.00005e-07
23 checksection result
032d0272 24} else {
25 puts "Error: invalid result"
26}
27
5747059b 28checkview -display result -2d -path ${imagedir}/${test_image}.png