e6d11c905ac9e96d78df187ffdedc88e3c6c5327
[occt.git] / tests / perf / modalg / bug24751_4
1 puts "========="
2 puts "OCC24751"
3 puts "========="
4 puts ""
5 ###########################################################
6 # Performance improvements in the Edge/Edge intersection algorithm
7 ###########################################################
8
9 pload QAcommands
10
11 dchrono h restart
12
13 restore [locate_data_file bug24696_cx_e1200_nurbs.brep] cx
14
15 ###------------------####
16 trotate cx 0 0 0 0 1 1 90
17 ###------------------####
18
19 bclearobjects
20 bcleartools
21
22 set edges [explode cx e]
23 set nbe [llength $edges]
24 for {set i 1} {$i <= $nbe} {incr i} {baddobjects cx_$i}
25 bfillds
26 bbuild result
27
28 dchrono h stop counter EdgeIntersection
29
30 checkview -display result -2d -path ${imagedir}/${test_image}.png