#include <Graphic2d_EllipsMarker.hxx>
Inheritance diagram for Graphic2d_EllipsMarker:
Public Member Functions | |
Standard_EXPORT | Graphic2d_EllipsMarker (const Handle(Graphic2d_GraphicObject)&aGraphicObject, const Quantity_Length aXPosition, const Quantity_Length aYPosition, const Quantity_Length X, const Quantity_Length Y, const Quantity_Length MajorRadius, const Quantity_Length MinorRadius, const Quantity_PlaneAngle anAngle) |
Creates an ellipse marker with a reference point. The reference point is <axposition>, <ayposition>. The center is <x>, <y>. Angles are measured counterclockwise with 0 radian at 3 o'clock. Warning: Raises EllipsDefinitionError if the major radius or the minor radius is null. . | |
Standard_EXPORT void | Center (Quantity_Length &X, Quantity_Length &Y) const |
returns the coordinates of center | |
Standard_EXPORT Quantity_Length | MajorRadius () const |
returns the radius of the ellipse marker | |
Standard_EXPORT Quantity_Length | MinorRadius () const |
returns the radius of the ellipse marker | |
Standard_EXPORT Quantity_PlaneAngle | Angle () const |
returns the angle of the ellipse | |
virtual Standard_EXPORT void | Save (Aspect_FStream &aFStream) const |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Static Public Member Functions | |
static Standard_EXPORT void | Retrieve (Aspect_IFStream &anIFStream, const Handle(Graphic2d_GraphicObject)&aGraphicObject) |
Protected Member Functions | |
Standard_EXPORT void | Draw (const Handle(Graphic2d_Drawer)&aDrawer) |
Draws the ellipse <me>. . | |
virtual Standard_EXPORT void | DrawElement (const Handle(Graphic2d_Drawer)&aDrawer, const Standard_Integer anIndex) |
Draws element <anindex> of the ellips marker <me>. . | |
virtual Standard_EXPORT void | DrawVertex (const Handle(Graphic2d_Drawer)&aDrawer, const Standard_Integer anIndex) |
Draws vertex <anindex> of the ellips marker <me>. . | |
Standard_EXPORT 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. . | |
Private Attributes | |
Standard_ShortReal | myX |
Standard_ShortReal | myY |
Standard_ShortReal | myMajorRadius |
Standard_ShortReal | myMinorRadius |
Standard_ShortReal | myAngle |
|
|
|
|
|
|
|
Implements Graphic2d_Primitive. |
|
Reimplemented from Graphic2d_Primitive. |
|
Reimplemented from Graphic2d_Primitive. |
|
Reimplemented from Graphic2d_VectorialMarker. |
|
|
|
|
|
Implements Graphic2d_Primitive. |
|
|
|
Reimplemented from Graphic2d_Line. |
|
|
|
|
|
|
|
|
|
|