1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/modalg_5/bug23777
2013-03-07 14:25:51 +04:00

23 lines
564 B
Plaintext
Executable File

puts "================"
puts "OCC23777"
puts "================"
puts ""
#######################################################################
# 2D-Classifier algorithm produces wrong results for a point and face.
#######################################################################
set BugNumber OCC23777
restore [locate_data_file bug23777_b1.brep] b1
point p2D 0.062260538576946696 249583.00418413401
set info [b2dclassify b1 p2D]
set check [regexp "IN" $info]
if { ${check} == 1 } {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}