occt: master 04f0f1b0

Author Committer Branch Timestamp Parent
kgv apn master 2018-10-23 14:39:36 master 253cfde7
Affected Issues  0030270: Modeling Algorithms - BRepBndLib should provide an option for skipping infinite entities
Changeset 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.
mod - src/Bnd/Bnd_Box.cxx Diff File
mod - src/Bnd/Bnd_Box.hxx Diff File
mod - src/BndLib/BndLib.cxx Diff File
mod - src/BRepTest/BRepTest_BasicCommands.cxx Diff File
mod - src/Prs3d/Prs3d.cxx Diff File
add - tests/bugs/modalg_7/bug30270 Diff File