0029967: Draw Harness - command bounding has annoying syntax
authorkgv <kgv@opencascade.com>
Fri, 20 Jul 2018 10:07:47 +0000 (13:07 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 27 Jul 2018 13:19:26 +0000 (16:19 +0300)
commit1f26f80bb7dcfef391ea5d168757183de5ccecaa
treeba5bf81a80dd5acad7789db16b7bd84274e510e3
parent3dc5809557a675453fd352f69a4cfd948d64cd59
0029967: Draw Harness - command bounding has annoying syntax

Bnd_OBB constructor from Bnd_Box is fixed for VOID input.

DRAW command bounding command is adjusted:
- Support of old syntax 'bounding shape'is restored.
- Exception on VOID bounding box is avoided.
- Arguments are handled in case-insensitive way.
- Options -s, -perfmeter, and ability to set result as first argument are removed as redundant.
- Help is moved to command definition.

Separate command OCC29311 is added (in QADraw) to do the same as option -perfmeter did; tests are updated.
67 files changed:
samples/tcl/Penrose.tcl
samples/tcl/snowflake.tcl
src/BRepTest/BRepTest_BasicCommands.cxx
src/Bnd/Bnd_OBB.hxx
src/QABugs/QABugs_20.cxx
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
tests/bugs/modalg_7/bug29311_12
tests/bugs/modalg_7/bug29311_13
tests/bugs/modalg_7/bug29311_14
tests/bugs/modalg_7/bug29311_15
tests/bugs/modalg_7/bug29311_16
tests/bugs/modalg_7/bug29311_17
tests/bugs/modalg_7/bug29311_2
tests/bugs/modalg_7/bug29311_3
tests/bugs/modalg_7/bug29311_4
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
tests/xml/data/ocaf/B3
tests/xml/data/ocaf/B5
tests/xml/data/ocaf/B7