Public Member Functions |
| | Prs2d_RadiusIndep (const Handle< Graphic2d_GraphicObject > &aGO, const gp_Pnt2d &anAttachPnt, const gp_Pnt2d &aCenter, const Standard_Real aRad, const TCollection_ExtendedString &aText, const Standard_Real aLength=10.0, const Prs2d_TypeOfRadius aTypeRad=Prs2d_TOR_STANDARD, const Standard_Real aTxtScale=1.0) |
| | Creates the radius of the circle <aCenter, aRad> passing through
the point <anAttachPnt1> on the circle
|
| void | Values (gp_Pnt2d &anAttPnt, gp_Pnt2d &aCenter, Standard_Real &aRad, TCollection_ExtendedString &aText, Standard_Real &aLength, Prs2d_TypeOfRadius &aTypeRad, Standard_Real &aTxtScale) const |
| | allows to get the properties of the radius
|
| void | SetText (const TCollection_ExtendedString &aTxt) |
| | Defines the text
|
| void | SetTextScale (const Standard_Real aTxtScale) |
| | Defines the scale factor of text
|
| void | SetTextFont (const Standard_Integer aTF) |
| | Sets the index of the font of this text to this dimension
|
| void | SetFontOfSymb (const Standard_Integer aFS) |
| | Sets the index of the font of the symbol to this dimension
|
| void | DrawSymbol (const Standard_Boolean isDraw) |
| | Sets the flag for drawing additional symbol
|
| void | SetSymbolCode (const Standard_Integer aCode) |
| | Sets the ASCII code of the symbol
|
| Standard_Integer | TextFont () const |
| | Returns the index of the font of this text of this dimension
|
| Standard_Integer | FontOfSymb () const |
| | Returns the index of the font of the symbol of this dimension
|
| Standard_Boolean | IsDrawSymbol () const |
| | Return true if symbol is drawn, false - in otherwise
|
| Standard_Integer | SymbolCode () const |
| | Return ASCII code of the symbol
|
| virtual void | Save (Aspect_FStream &aFStream) const |
Protected Member Functions |
| void | Draw (const Handle< Graphic2d_Drawer > &aDrawer) |
| | Draws the angle <me>.
|
| virtual void | DrawElement (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex) |
| | Draws element <anIndex> of the radius <me>.
|
| virtual void | DrawVertex (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex) |
| | Draws vertex <anIndex> of the radius <me>.
|
| Standard_Boolean | Pick (const Standard_ShortReal X, const Standard_ShortReal Y, const Standard_ShortReal aPrecision, const Handle< Graphic2d_Drawer > &aDrawer) |
| | Returns Standard_True if the radius <me> is picked,
Standard_False if not.
|