0031496: Modeling Algorithms - BRepAlgo::ConcatenateWireC0() crashes
[occt.git] / tests / bugs / modalg_7 / bug29887_2
CommitLineData
4680b22c 1puts "========"
2puts "OCC29887: Wrong result of CUT operation due to incorrect point-face classification"
3puts "========"
4puts ""
5
6brestore [locate_data_file bug29887_ar_shape_to_cuts.brep] s1
7
8point p 11.633693861603586 -0.88940231049090079
9
10if { ![regexp {IN} [ b2dclassifx s1 p ] ] } {
11 puts "Error : Wrong result of 2d classifier algorithm"
12} else {
13 puts "OK : Good result of 2d classifier algorithm"
14}
15
16if { ![regexp {IN} [ b2dclassify s1 p ] ] } {
17 puts "Error : Wrong result of 2d classifier algorithm"
18} else {
19 puts "OK : Good result of 2d classifier algorithm"
20}
21
22smallview -2D-
232dclear
24display p
25pcurve s1
262dfit
27
28checkview -screenshot -2d -path ${imagedir}/${test_image}.png