0027126: Create command checktrinfo to verify meshes
[occt.git] / tests / bugs / moddata_2 / bug372
CommitLineData
352ffd73 1pload QAcommands
2
3puts "========================"
4puts "OCC372"
5puts "BUC61036"
6puts "========================"
7puts ""
8###############################################################
9##BRepClass3d_SolidClassifier classify point to solid as OUT, but the point is inside the solid.
10###############################################################
11
12restore [locate_data_file OCC372.brep] b1
13checkshape b1
14
15point p1 6311.4862583184 -2841.3092756034 16.461053497188
16
17set result [OCC299 b1 p1]
18set ll [llength ${result}]
19if { ${ll} < 4 } then {
20 puts "OCC372: ERROR 1"
21} else {
22 regexp {The point is (.*) shape} ${result} full status
23 if {[string compare ${status} "IN"] == 0} then {
24 puts "status = ${status}"
25 puts "OCC372: OK"
26 } else {
27 puts "status = ${status}"
28 puts "Faulty : OCC372"
29 }
30}
31