Constructs presentable and selectable Point.
It's displayed as a definite type Marker from
Aspect_TypeOfMarker
#include <Prs2d_Point.hxx>
Public Member Functions |
| Prs2d_Point (const Handle< Graphic2d_GraphicObject > &aGO, const gp_Pnt2d &aPnt, const Aspect_TypeOfMarker aTOM, const Quantity_Length aWSize=2.0, const Quantity_Length aHSize=2.0, const Quantity_PlaneAngle anAngle=0.0) |
| Initializes the Point defined <aPnt>
|
void | SetPoint (const gp_Pnt2d &aPnt) |
| Modifies the Point by redefining location <aPnt>
|
void | SetMarker (const Aspect_TypeOfMarker aTOM) |
| Modifies the Point by redefining type of marker
|
void | SetIndex (const Standard_Integer anInd) |
| Sets the map index of the marker
|
gp_Pnt2d | Point () const |
| Returns the location of the Point
|
Aspect_TypeOfMarker | Marker () const |
| Returns the type of marker of the Point
|
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 point <me>.
|
virtual void | DrawVertex (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex) |
| Draws vertex <anIndex> of the point <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 point <me> is picked,
Standard_False if not.
|
Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: