1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_6/bug27010
ifv f85e7ddb9f 0027010: Wrong classification of the point relatively the solid
Algorithm of curve-face intersection was improved in order to take in account edge tolerance zones for more precise classification of state of intersection point.

Test case for issue CR27010
2015-12-22 14:36:51 +03:00

30 lines
882 B
Plaintext
Executable File

puts "============"
puts "OCC27010"
puts "============"
puts ""
############################################################################
# Wrong classification of the point relatively the solid
############################################################################
restore [locate_data_file bug27002_Compartment.brep] s
point p1 103.740000000001 2e-014 24.3498644581774
point p2 110.740000000001 2e-014 24.3498644581774
set cls1 [bclassify s p1]
if { [regexp {IN} $cls1] } {
puts "Error : Wrong result1 obtained by solid classifier algorithm"
} else {
puts "OK : Good result1 obtained by solid classifier algorithm"
}
set cls2 [bclassify s p2]
if { [regexp {IN} $cls2] } {
puts "Error : Wrong result2 obtained by solid classifier algorithm"
} else {
puts "OK : Good result2 obtained by solid classifier algorithm"
}
smallview
fit
set only_screen_axo 1