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/bug27884
abulyche ab279b126b 0029745: Modeling Data - GeomAdaptor_Surface::VIntervals fails on periodic surfaces
Fixed GeomAdaptor_Curve::LocalContinuity() for periodic curves.
Fixed GeomAdaptor_Curve::NbIntervals() for periodic curves.
Fixed GeomAdaptor_Curve::Intervals() for periodic curves.
Improved definition of length in tests.
Update Geom2dAdaptor_Curve to the same behavior.
2022-03-31 21:47:58 +03:00

43 lines
901 B
Plaintext

puts "================================================================="
puts "OCC27884: Modeling Algorithms - Possible improvement for 2d classifier"
puts "================================================================="
puts ""
pload ALL
pload QAcommands
circle c 1 0 0 150
set res1 [OCC27884 c 400 0]
regexp {Improving time: +([-0-9.+eE]+) %} $res1 full time1
if { $time1 <= 4 } {
puts "Error: algorithm slowed down"
}
set res2 [OCC27884 c 250 1]
regexp {Improving time: +([-0-9.+eE]+) %} $res2 full time2
if { $time2 <= 3 } {
puts "Error: algorithm slowed down"
}
convert c1 c
set res3 [OCC27884 c1 350 2]
regexp {Improving time: +([-0-9.+eE]+) %} $res3 full time3
if { $time3 <= 15 } {
puts "Error: algorithm slowed down"
}
set res4 [OCC27884 c1 250 1]
regexp {Improving time: +([-0-9.+eE]+) %} $res4 full time4
if { $time4 <= 15 } {
puts "Error: algorithm slowed down"
}