Open CASCADE Technology
6.5.4
|
Constructs the repere
#include <Prs2d_Repere.hxx>
Prs2d_Repere::Prs2d_Repere | ( | const Handle< Graphic2d_GraphicObject > & | aGO, |
const gp_Pnt2d & | aPnt1, | ||
const gp_Pnt2d & | aPnt2, | ||
const Standard_Real | aLenBase, | ||
const TCollection_ExtendedString & | aText, | ||
const Standard_Real | aTxtScale = 1.0 , |
||
const Standard_Boolean | aDrawArrow = Standard_False , |
||
const Standard_Real | anArrAngle = 10.0 , |
||
const Standard_Real | anArrLength = 10.0 , |
||
const Prs2d_TypeOfArrow | anArrType = Prs2d_TOA_OPENED , |
||
const Prs2d_ArrowSide | anArrow = Prs2d_AS_BOTHAR , |
||
const Standard_Boolean | IsRevArrow = Standard_False |
||
) |
virtual void Prs2d_Repere::CalcTxtPos | ( | const Standard_Boolean | theFromAbs | ) | [protected, virtual] |
Implements Prs2d_Dimension.
void Prs2d_Repere::Draw | ( | const Handle< Graphic2d_Drawer > & | aDrawer | ) | [protected, virtual] |
Implements Graphic2d_Primitive.
virtual void Prs2d_Repere::DrawElement | ( | const Handle< Graphic2d_Drawer > & | aDrawer, |
const Standard_Integer | anElement | ||
) | [protected, virtual] |
Reimplemented from Graphic2d_Primitive.
virtual void Prs2d_Repere::DrawVertex | ( | const Handle< Graphic2d_Drawer > & | aDrawer, |
const Standard_Integer | aVertex | ||
) | [protected, virtual] |
Reimplemented from Graphic2d_Primitive.
Standard_Boolean Prs2d_Repere::Pick | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y, | ||
const Standard_ShortReal | aPrecision, | ||
const Handle< Graphic2d_Drawer > & | aDrawer | ||
) | [protected, virtual] |
Implements Graphic2d_Primitive.
virtual void Prs2d_Repere::Save | ( | Aspect_FStream & | aFStream | ) | const [virtual] |
Reimplemented from Graphic2d_Line.