1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0030270: Modeling Algorithms - BRepBndLib should provide an option for skipping infinite entities

Bnd_Box now keeps calculating of finite part of bounding box after specifying it to be Open in some direction.
The finite part can be retrieved using new method Bnd_Box::FinitePart().

Prs3d::GetDeflection() now uses Bnd_Box::FinitePart() when applying relative deflection.

Draw Harness command bounding has been extended with option -finite returing a finite part of AABB.
This commit is contained in:
kgv
2018-10-23 17:39:36 +03:00
committed by apn
parent 253cfde728
commit 04f0f1b046
6 changed files with 238 additions and 157 deletions

View File

@@ -0,0 +1,15 @@
puts "========"
puts "0030270: Modeling Algorithms - BRepBndLib should provide an option for skipping infinite entities"
puts "========"
puts ""
pload MODELING VISUALIZATION
restore [locate_data_file bug27448_b1255.brep] s
bounding s -print
bounding s -finite -shape b
smallview
donly b
fit
display s
xwd ${imagedir}/${casename}.png