1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/perf/modalg/bug30670
emv 47cd8af2d2 0030670: Modeling Algorithms - Performance improvement of Boolean Operations algorithm
The following improvements have been made in Boolean operations algorithm:
1. Added possibility to update FaceInfo structure for many faces at once which helps to avoid nested loops.
2. Improve Point-Face classification procedure by caching the FaceExplorer for a face.
2019-05-24 10:33:23 +03:00

33 lines
794 B
Plaintext

puts "==============================================================="
puts "0030670: Modeling Algorithms - Performance improvement of Boolean Operations algorithm"
puts "==============================================================="
puts ""
autodisplay 0
restore [locate_data_file bug30670_prisms.brep] c
bglue 1
bfuzzyvalue 0
set exp [explode c]
bclearobjects
bcleartools
baddobjects c_1
eval baddtools [lrange $exp 1 end]
dchrono fillds reset
dchrono fillds start
bfillds
dchrono fillds stop counter FILLER
dchrono fuse reset
dchrono fuse start
bbop result 1
dchrono fuse stop counter BUILDER
bglue 0
checknbshapes result -wire 12686 -face 12598 -shell 1 -solid 1 -t
checkprops result -s 1.34932e+06 -v 2.60155e+07
checkview -display result -2d -path ${imagedir}/${test_image}.png