0027322: geom/revolution_00/A1: Incorrect pcurve creation
[occt.git] / tests / bugs / modalg_5 / bug24519
CommitLineData
3edc7eea 1puts "=========="
2puts "OCC24519"
3puts "=========="
4puts ""
5####################################################################
6# 0024519: Intersection of a cylinder and a plane does not return
7####################################################################
8
9restore [locate_data_file bug24519_cylinder.brep] cy
10restore [locate_data_file bug24519_plane.brep] pl
11
12bsection r1 cy pl
13section r2 cy pl
14set exp1 [explode r1]
15set exp2 [explode r2]
16
17if { $exp1 != "r1_1" } {
18 puts "Error: First intersection is not returned"
19}
20if { $exp2 != "r2_1" } {
21 puts "Error: Second intersection is not returned"
22}
23
3edc7eea 24checksection r1
25checksection r2
58cf74e0 26checkprops r1 -l 3.83537
27checkprops r2 -l 3.83537