4680b22c |
1 | puts "========" |
2 | puts "OCC29887: Wrong result of CUT operation due to incorrect point-face classification" |
3 | puts "========" |
4 | puts "" |
5 | |
6 | brestore [locate_data_file bug29887_ar_shape_to_cuts.brep] s1 |
7 | |
8 | point p 11.633693861603586 -0.88940231049090079 |
9 | |
10 | if { ![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 | |
16 | if { ![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 | |
22 | smallview -2D- |
23 | 2dclear |
24 | display p |
25 | pcurve s1 |
26 | 2dfit |
27 | |
28 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |