//! These two edges should be intersected by each other. Otherwise the geometry is not valid.
//! @param theFirstEdge [in] the first edge.
//! @param theSecondEdge [in] the second edge.
+ //! the maximum distanced point of edges from the presentation center
Standard_EXPORT AIS_AngleDimension (const TopoDS_Edge& theFirstEdge,
const TopoDS_Edge& theSecondEdge);
//! These two edges should be intersected by each other. Otherwise the geometry is not valid.
//! @param theFirstEdge [in] the first edge.
//! @param theSecondEdge [in] the second edge.
+ //! the maximum distanced point of edges from the presentation center
Standard_EXPORT void SetMeasuredGeometry (const TopoDS_Edge& theFirstEdge,
- const TopoDS_Edge& theSecondEdge);
+ const TopoDS_Edge& theSecondEdge);
//! Measures angle defined by three points.
//! @param theFirstPoint [in] the first point (point on first angle flyout).
Standard_EXPORT virtual const gp_Pnt GetTextPosition () const;
+ //! Sets state if the angle arc should be built reversing to the presentation plane.
+ //! Default state is not reversed
+ //! @param theUseReverse [in] the boolean state.
+ void SetAngleReversed(const Standard_Boolean& theUseReverse);
+
+ //! 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.
+ void SetArrowVisible(const Standard_Boolean& theFirstArrowVisible,
+ const Standard_Boolean& theSecondArrowVisible);
+
public:
DEFINE_STANDARD_RTTI (AIS_AngleDimension)
protected:
//! Init angular dimension to measure angle between two linear edges.
+ //! the maximum distanced point of edges from the presentation center
//! @return TRUE if the angular dimension can be constructured
//! for the passed edges.
Standard_EXPORT Standard_Boolean InitTwoEdgesAngle (gp_Pln& theComputedPlane);
const gp_Pnt& theSecondPoint) const;
private:
+ Standard_Boolean myUseReverse;
+
+ Standard_Boolean myFirstArrowVisible;
+ Standard_Boolean mySecondArrowVisible;
gp_Pnt myFirstPoint;
gp_Pnt mySecondPoint;