]> OCCT Git - occt-copy.git/commit
0024412: TKV3d, Dimensions - Possibility to customize text position was lost:
authoraba <aba@opencascade.com>
Thu, 13 Feb 2014 08:43:56 +0000 (12:43 +0400)
committerabv <abv@opencascade.com>
Tue, 25 Mar 2014 12:22:45 +0000 (16:22 +0400)
commit96473124628308a2a3b64e671204ec3c1f043a47
treeed46cd4f8fd020589e7970dff9b5e2f5c82f88c2
parentff0652d07d86eb1790aa1da27a7504805e8e58a9
0024412: TKV3d, Dimensions - Possibility to customize text position was lost:

AIS_Dimension::GetTextPosition() and AIS_Dimension::SetTextPosition() methods were added.
Added possibility to set and unset text label alignment respectively to the attach points after text position changed.
Added test cases to check text positioning with dimension parameters and with setting 3D point.
Corrected DRAW commands vmovedim, vangledim, vdistdim, vradiusdim.
Corrections of AIS_Dimension::SetTextPosition(): aspect parameters are not changed inside it.
Layout mode was removed; test cases and vdimparams, vdimension  commands were corrected.
remarks: coding style, removing redundant code of LayoutMode enumeration.
16 files changed:
src/AIS/AIS.cdl
src/AIS/AIS_AngleDimension.cxx
src/AIS/AIS_AngleDimension.hxx
src/AIS/AIS_DiameterDimension.cxx
src/AIS/AIS_DiameterDimension.hxx
src/AIS/AIS_Dimension.cxx
src/AIS/AIS_Dimension.hxx
src/AIS/AIS_LengthDimension.cxx
src/AIS/AIS_LengthDimension.hxx
src/AIS/AIS_RadiusDimension.cxx
src/AIS/AIS_RadiusDimension.hxx
src/Prs3d/Prs3d_DimensionAspect.cdl
src/Prs3d/Prs3d_DimensionAspect.cxx
src/ViewerTest/ViewerTest_RelationCommands.cxx
tests/bugs/vis/bug24412_1 [new file with mode: 0644]
tests/bugs/vis/bug24412_2 [new file with mode: 0644]