Update testing case for issue 0024499
[occt.git] / tests / bugs / modalg_5 / bug24499
... / ...
CommitLineData
1puts "============"
2puts "OCC24499"
3puts "============"
4puts ""
5############################################################################
6# fixshape produces inverted solid
7############################################################################
8
9pload XSDRAW
10
11restore [locate_data_file bug24499_solid.brep] a
12point p 0 0 0
13
14set cls1 [bclassify a p]
15if { [regexp {OUT} $cls1] } {
16 puts "CORRECT classification of the 3D-point with the Solid"
17} else {
18 puts "Faulty : Wrong classification of the 3D-point with the Solid"
19}
20
21fixshape result a
22set cls2 [bclassify result p]
23if { [regexp {OUT} $cls2] } {
24 puts "CORRECT classification of the 3D-point with the Solid building by fixshape"
25} else {
26 puts "Faulty : Wrong classification of the 3D-point with the Solid building by fixshape"
27}