0028493: [Regression vs 7.0.0] Intersection algorithm produces curve with loop
[occt.git] / tests / lowalgos / intss / bug24427_2
CommitLineData
191478a5 1puts "========="
2puts "CR24427"
3puts "========="
4puts ""
5###############################
6## Wrong section curves
7###############################
8
9restore [locate_data_file bug24427_b1.brep] b1
10restore [locate_data_file bug24427_b2.brep] b2
11
12mksurface s1 b1
13mksurface s2 b2
14
15trim s1t s1 0 3.1415926535897931 3.3684854563490672 3.9269908169872507
16trim s2t s2 0 3.1415926535897931 -1.0598124096115453e-015 0.013271150216666670
17
18intersect i s1t s2t
19don s1t s2t i
20
21puts "First test"
6d368502 22xdistcs i s1 0 1 10 1e-7
191478a5 23
24puts "Second test"
6d368502 25xdistcs i s2 0 1 10 1e-7
191478a5 26
27donly i s1t s2t
28
29smallview
30fit
5747059b 31checkview -screenshot -2d -path ${imagedir}/${test_image}.png