0030270: Modeling Algorithms - BRepBndLib should provide an option for skipping infin...
authorkgv <kgv@opencascade.com>
Tue, 23 Oct 2018 14:39:36 +0000 (17:39 +0300)
committerapn <apn@opencascade.com>
Wed, 24 Oct 2018 19:53:26 +0000 (22:53 +0300)
commit04f0f1b046fd90b263cb9c1071f468ff7888e94c
treec8644e92fd08ca30713a2c55c5b6cbf3380df828
parent253cfde728daadd69031667282985fe873a899ed
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.
src/BRepTest/BRepTest_BasicCommands.cxx
src/Bnd/Bnd_Box.cxx
src/Bnd/Bnd_Box.hxx
src/BndLib/BndLib.cxx
src/Prs3d/Prs3d.cxx
tests/bugs/modalg_7/bug30270 [new file with mode: 0644]