0029311: Implementation of the Oriented Bounding Boxes (OBB) functionality
authornbv <nbv@opencascade.com>
Wed, 8 Nov 2017 12:47:09 +0000 (15:47 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 8 Dec 2017 13:39:11 +0000 (16:39 +0300)
commit1a0339b46484927ca2e1adeb35d018f0def7f6c7
tree0de575fc00eca47cec8e1ad05093a1cdd2add675
parent8d1a539c4a8c8d59852174d6de0928aedaf8251b
0029311: Implementation of the Oriented Bounding Boxes (OBB) functionality

1. The class Bnd_OBB has been created to describe the Oriented Bounding Box.

2. Several key methods have been implemented: Bnd_OBB::IsOut(...), Bnd_OBB::Add(...) and Bnd_OBB::Enlarge(...).

3. Interface of Bnd_Box class has changed. New methods have been created. See Bnd_Box.hxx for detailed information.

4. BRepBndLib and Draw_Box classes have been amended in order to provide correct work with Bnd_OBB class.

5. Interface of "bounding" DRAW-command has been changed. Please see help for detailed information.

6. New DRAW-command "isbbinterf" has been created. Please see help for detailed information.

7. "boundingstr" and "optbounding" DRAW-commands have been eliminated because their function can be made by "bounding" DRAW-command (e.g. see tests/bugs/vis/buc60857 or samples/tcl/snowflake.tcl test cases).

8. Documentation has been updated.
83 files changed:
dox/user_guides/draw_test_harness/draw_test_harness.md
dox/user_guides/modeling_data/images/modeling_data_image015.png [new file with mode: 0644]
dox/user_guides/modeling_data/modeling_data.md
samples/tcl/Penrose.tcl
samples/tcl/snowflake.tcl
src/BRepBndLib/BRepBndLib.hxx
src/BRepBndLib/BRepBndLib_1.cxx [new file with mode: 0644]
src/BRepBndLib/FILES
src/BRepTest/BRepTest_BasicCommands.cxx
src/Bnd/Bnd_OBB.cxx [new file with mode: 0644]
src/Bnd/Bnd_OBB.hxx [new file with mode: 0644]
src/Bnd/FILES
src/Draw/Draw_Box.cxx
src/Draw/Draw_Box.hxx
tests/bugs/modalg_1/buc60849
tests/bugs/modalg_1/bug108
tests/bugs/modalg_1/bug12661
tests/bugs/modalg_4/bug6334
tests/bugs/modalg_6/bug27537
tests/bugs/modalg_7/bug29311_1 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_10 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_11 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_12 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_13 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_14 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_15 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_16 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_17 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_2 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_3 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_4 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_5 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_6 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_7 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_8 [new file with mode: 0644]
tests/bugs/modalg_7/bug29311_9 [new file with mode: 0644]
tests/bugs/moddata_1/bug15570
tests/bugs/moddata_2/bug23165
tests/bugs/moddata_2/bug2442
tests/bugs/moddata_2/bug257
tests/bugs/moddata_2/bug566
tests/bugs/moddata_2/bug6503
tests/bugs/moddata_3/bug23575
tests/bugs/moddata_3/bug25631
tests/bugs/moddata_3/bug26560
tests/bugs/moddata_3/bug27261_1
tests/bugs/moddata_3/bug27261_2
tests/bugs/step/bug24595
tests/bugs/stlvrml/bug26338
tests/bugs/vis/buc60857
tests/bugs/vis/bug27796
tests/bugs/xde/bug659
tests/caf/basic/K1
tests/caf/basic/K2
tests/caf/basic/K3
tests/caf/bugs/B3
tests/caf/bugs/B5
tests/caf/bugs/B7
tests/caf/bugs/D2
tests/caf/named_shape/A1
tests/caf/named_shape/B1
tests/caf/named_shape/C1
tests/caf/named_shape/D1
tests/caf/named_shape/D2
tests/caf/named_shape/D3
tests/caf/xlink/A1
tests/caf/xlink/A2
tests/caf/xlink/B1
tests/caf/xlink/B2
tests/caf/xlink/B3
tests/caf/xlink/B4
tests/caf/xlink/B5
tests/caf/xlink/C1
tests/caf/xlink/D1
tests/caf/xlink/D2
tests/chamfer/begin
tests/demo/draw/binpersist_1
tests/demo/draw/binpersist_2
tests/demo/draw/binpersist_3
tests/perf/modalg/bug29311 [new file with mode: 0644]
tests/xml/data/ocaf/B3
tests/xml/data/ocaf/B5
tests/xml/data/ocaf/B7