The primitive Ellips
#include <Graphic2d_Ellips.hxx>
Public Member Functions |
| | Graphic2d_Ellips (const Handle< Graphic2d_GraphicObject > &aGraphicObject, const Quantity_Length X, const Quantity_Length Y, const Quantity_Length MajorRadius, const Quantity_Length MinorRadius, const Quantity_PlaneAngle anAngle) |
| | Creates an ellipse.
The center is <X>, <Y>.
Angles are measured counterclockwise with 0 radian
at 3 o'clock.
|
| void | Center (Quantity_Length &X, Quantity_Length &Y) const |
| | returns the coordinates of center of the ellipse
|
| Quantity_Length | MajorRadius () const |
| | returns the radius of the ellipse
|
| Quantity_Length | MinorRadius () const |
| | returns the radius of the ellipse
|
| Quantity_PlaneAngle | Angle () const |
| | returns the angle of the ellipse
|
| virtual void | Save (Aspect_FStream &aFStream) const |
Static Public Member Functions |
| static void | Retrieve (Aspect_IFStream &anIFStream, const Handle< Graphic2d_GraphicObject > &aGraphicObject) |
Protected Member Functions |
| void | Draw (const Handle< Graphic2d_Drawer > &aDrawer) |
| | Draws the ellipse <me>.
|
| virtual void | DrawElement (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex) |
| | Draws element <anIndex> of the circle <me>.
|
| virtual void | DrawVertex (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex) |
| | Draws vertex <anIndex> of the circle <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 ellipse <me> is picked,
Standard_False if not.
|
Constructor & Destructor Documentation
Member Function Documentation
| void Graphic2d_Ellips::Draw |
( |
const Handle< Graphic2d_Drawer > & |
aDrawer | ) |
[protected, virtual] |
| virtual void Graphic2d_Ellips::Save |
( |
Aspect_FStream & |
aFStream | ) |
const [virtual] |
The documentation for this class was generated from the following file: