0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug30621
1 puts "========"
2 puts "OCC30621"
3 puts "========"
4 puts "Implementation of building periodical surfaces by GeomAPI_PointsToBSplineSurface"
5 puts "========"
6
7 cylinder cc 1
8 trimv cc cc 0 1
9 surfint ri cc 11 3 1
10 surfapp ra 11 3 cc 1
11
12 if { [regexp "Continuity Status : C1" [surfaceCcontinuity 1 ri 0 .5 ri 1 .5]] == 1 } {
13  
14    puts "OK : Good result of interpolation"
15
16 } else {
17  
18    puts "Error : periodic interpolation fails"
19
20 }  
21 if { [regexp "Continuity Status : C1" [surfaceCcontinuity 1 ra 0 .5 ra 1 .5]] == 1 } {
22  
23    puts "OK : Good result of approximation"
24
25 } else {
26  
27    puts "Error : periodic approximation fails"
28
29 }  
30 checkview -display ri -with ra -2d -path ${imagedir}/${test_image}.png