0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_5 / bug23706_10
1 puts "============"
2 puts "OCC23706"
3 puts "============"
4 puts ""
5 #########################################################################
6 # Cannot project point on curve
7 #########################################################################
8
9 cpulimit 1500
10
11 bsplinecurve r3 2 6 1 3 2 1 3 1 4 1 5 1 6 3 2 5 3 1 3 7 3 1 4 8 3 1 4 8 3 1 4 8 3 1 5 9 3 1 9 7 3 1
12 bsplinecurve r4 2 6 2 3 2.5 1 3 1 3.5 1 4 1 4.5 3 -1 2 3 1 1 11 3 1 3 9 3 1 3 9 3 1 3 9 3 1 5 7 3 1 7 4 3 1
13
14 set info [extrema r3 r4] 
15
16 regexp {Extrema 1 is point : } $info full pp
17
18 if { $pp == "4 8 3"} {
19     puts "Error : Point of extrema is wrong"
20 } else {
21     puts "OK: Point of extrema is valid"
22 }