0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug27010
... / ...
CommitLineData
1puts "============"
2puts "OCC27010"
3puts "============"
4puts ""
5############################################################################
6# Wrong classification of the point relatively the solid
7############################################################################
8
9restore [locate_data_file bug27002_Compartment.brep] s
10point p1 103.740000000001 2e-014 24.3498644581774
11point p2 110.740000000001 2e-014 24.3498644581774
12
13set cls1 [bclassify s p1]
14if { [regexp {IN} $cls1] } {
15 puts "Error : Wrong result1 obtained by solid classifier algorithm"
16} else {
17 puts "OK : Good result1 obtained by solid classifier algorithm"
18}
19
20set cls2 [bclassify s p2]
21if { [regexp {IN} $cls2] } {
22 puts "Error : Wrong result2 obtained by solid classifier algorithm"
23} else {
24 puts "OK : Good result2 obtained by solid classifier algorithm"
25}
26
27smallview
28fit
29checkview -screenshot -2d -path ${imagedir}/${test_image}.png