0032876: Modeling algorithms - BRepClass_FaceClassifier issue
[occt.git] / tests / bugs / modalg_6 / bug32876
1 puts "============================"
2 puts "0032876: Modeling algorithms - BRepClass_FaceClassifier issue"
3 puts "============================"
4 puts ""
5
6 plane p
7 trim p p 0 4 0 2
8 mkface face p
9
10 point p1 4.02 -0.02
11 point p2 4.06 -0.02
12 point p3 3.8 -0.08
13 point p4 4.09 0
14
15 if ![regexp "ON" [b2dclassify face p1 0.1]] {
16   puts "Error: point p1 is classified as OUT"
17 }
18
19 if ![regexp "ON" [b2dclassify face p2 0.1]] {
20   puts "Error: point p2 is classified as OUT"
21 }
22
23 if ![regexp "ON" [b2dclassify face p3 0.1]] {
24   puts "Error: point p2 is classified as OUT"
25 }
26
27 if ![regexp "ON" [b2dclassify face p4 0.1]] {
28   puts "Error: point p2 is classified as OUT"
29 }