occt: master af203d54

Author Committer Branch Timestamp Parent
aba apn master 2014-02-13 08:43:56 master 3b010a74
Changeset 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.
mod - src/AIS/AIS.cdl Diff File
mod - src/AIS/AIS_AngleDimension.cxx Diff File
mod - src/AIS/AIS_AngleDimension.hxx Diff File
mod - src/AIS/AIS_DiameterDimension.cxx Diff File
mod - src/AIS/AIS_DiameterDimension.hxx Diff File
mod - src/AIS/AIS_Dimension.cxx Diff File
mod - src/AIS/AIS_Dimension.hxx Diff File
mod - src/AIS/AIS_LengthDimension.cxx Diff File
mod - src/AIS/AIS_LengthDimension.hxx Diff File
mod - src/AIS/AIS_RadiusDimension.cxx Diff File
mod - src/AIS/AIS_RadiusDimension.hxx Diff File
mod - src/Prs3d/Prs3d_DimensionAspect.cdl Diff File
mod - src/Prs3d/Prs3d_DimensionAspect.cxx Diff File
mod - src/ViewerTest/ViewerTest_RelationCommands.cxx Diff File
add - tests/bugs/vis/bug24412_1 Diff File
add - tests/bugs/vis/bug24412_2 Diff File