myUseReverse = theUseReverse;
}
+//=======================================================================
+//function : SetAngleReversed
+//purpose :
+//=======================================================================
+Standard_Boolean AIS_AngleDimension::GetAngleReversed() const
+{
+ return myUseReverse;
+}
+
//=======================================================================
//function : SetArrowVisible
//purpose :
mySecondArrowVisible = theSecondArrowVisible;
}
+//=======================================================================
+//function : GetArrowVisible
+//purpose :
+//=======================================================================
+void AIS_AngleDimension::GetArrowVisible(Standard_Boolean& theFirstArrowVisible,
+ Standard_Boolean& theSecondArrowVisible)
+{
+ theFirstArrowVisible = myFirstArrowVisible;
+ theSecondArrowVisible = mySecondArrowVisible;
+}
+
//=======================================================================
//function : AdjustParameters
//purpose :
//! @param theUseReverse [in] the boolean state.
Standard_EXPORT void SetAngleReversed(const Standard_Boolean& theUseReverse);
+ //! Returns state if the angle arc is reversed to the presentation plane.
+ //! @return TRUE if the anble is build to be reversed
+ Standard_EXPORT Standard_Boolean GetAngleReversed() const;
+
//! Sets visible state of angle arrows. Default value is true for both
//! @param theFirstArrowVisible [in] the visibility of the first arrow.
//! @param theSecondArrowVisible [in] the visibility of the second arrow.
Standard_EXPORT void SetArrowVisible(const Standard_Boolean& theFirstArrowVisible,
const Standard_Boolean& theSecondArrowVisible);
+ //! Gets visible state of angle arrows.
+ //! @param theFirstArrowVisible [out] the visibility of the first arrow.
+ //! @param theSecondArrowVisible [out] the visibility of the second arrow.
+ Standard_EXPORT void GetArrowVisible(Standard_Boolean& theFirstArrowVisible,
+ Standard_Boolean& theSecondArrowVisible);
+
public:
DEFINE_STANDARD_RTTI (AIS_AngleDimension)
SetToUpdate();
}
+//=======================================================================
+//function : GetCustomValue
+//purpose :
+//=======================================================================
+const TCollection_ExtendedString& AIS_Dimension::GetCustomValue () const
+{
+ return myCustomStringValue;
+}
+
//=======================================================================
//function : GetPlane
//purpose :
//! @param theValue [in] the user-defined value to display.
Standard_EXPORT void SetCustomValue (const TCollection_ExtendedString& theValue);
+ //! Gets user-defined dimension value.
+ //! @return dimension value string.
+ Standard_EXPORT const TCollection_ExtendedString& GetCustomValue () const;
+
//! Get the dimension plane in which the 2D dimension presentation is computed.
//! By default, if plane is not defined by user, it is computed automatically
//! after dimension geometry is computed.