0025235: Draw Harness - improve commands vdimension and vdimparam
authoraba <aba@opencascade.com>
Thu, 2 Oct 2014 10:02:20 +0000 (14:02 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 2 Oct 2014 10:03:02 +0000 (14:03 +0400)
commit0499eb06703eca5643ef1cde09b59cad54921a3c
tree35d8c426f0d897ee0bf8f19e7e31467e69ac62d9
parent52d45841554609c61560a3501788bbe389e3c49e
0025235: Draw Harness - improve commands vdimension and vdimparam

Make commands syntax to meet coding rules.
Correct angle dimension initialization to allow ellipse input geometry with equal radii.
Change default value of arrow angle for dimensions (from 20 to 12 degrees).
Add arlength, arangle, textmode, textsize to vdimension and vdimparam Draw commands.
Add color parameter to vdimension and vdimparam.
Display dimensions by default.

Add dimensions demo script samples/tcl/dimensions.tcl.

Add file for test case for issue CR25235
23 files changed:
data/images/hatch_1.png [new file with mode: 0644]
samples/tcl/dimensions.tcl [new file with mode: 0644]
src/AIS/AIS_Dimension.cxx
src/AIS/AIS_Dimension.hxx
src/Prs3d/Prs3d_DimensionAspect.cxx
src/ViewerTest/ViewerTest_RelationCommands.cxx
tests/bugs/vis/bug24133_1
tests/bugs/vis/bug24133_2
tests/bugs/vis/bug24133_3
tests/bugs/vis/bug24133_4
tests/bugs/vis/bug24288_1
tests/bugs/vis/bug24288_2
tests/bugs/vis/bug24288_3
tests/bugs/vis/bug24293
tests/bugs/vis/bug24351_1
tests/bugs/vis/bug24351_2
tests/bugs/vis/bug24351_3
tests/bugs/vis/bug24351_4
tests/bugs/vis/bug24374
tests/bugs/vis/bug24389
tests/bugs/vis/bug24412_1
tests/bugs/vis/bug24412_2
tests/demo/samples/dimensions [new file with mode: 0644]