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:
15
tests/bugs/modalg_7/bug30270
Normal file
15
tests/bugs/modalg_7/bug30270
Normal 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
|
Reference in New Issue
Block a user