Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
Prs2d_Repere Class Reference

Constructs the repere

#include <Prs2d_Repere.hxx>

Inheritance diagram for Prs2d_Repere:
Inheritance graph
[legend]

Public Member Functions

 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)
 Creates repere

virtual void Save (Aspect_FStream &aFStream) const

Protected Member Functions

void Draw (const Handle< Graphic2d_Drawer > &aDrawer)
 Draws the repere <me>.

virtual void DrawElement (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex)
 Draws the element <anElement> of the primitive <me>.

virtual void DrawVertex (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex)
 Draws the vertex <aVertex> of the primitive <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 repere <me> is picked,
Standard_False if not.

virtual void CalcTxtPos (const Standard_Boolean theFromAbs)

Constructor & Destructor Documentation


Member Function Documentation

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.

Implements Graphic2d_Primitive.

virtual void Prs2d_Repere::Save ( Aspect_FStream aFStream) const [virtual]

Reimplemented from Graphic2d_Line.


The documentation for this class was generated from the following file: