Open CASCADE Technology
6.5.4
|
The primitive Curve
#include <GGraphic2d_Curve.hxx>
Public Member Functions | |
GGraphic2d_Curve (const Handle< Graphic2d_GraphicObject > &aGraphicObject, const Handle< Geom2d_Curve > &aCurve) | |
Creates a curve. | |
Handle_Geom2d_Curve | GeomCurve () const |
returns the geometric curve | |
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 curve <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 curve <me> is picked, Standard_False if not. | |
virtual void | Save (Aspect_FStream &aFStream) const |
GGraphic2d_Curve::GGraphic2d_Curve | ( | const Handle< Graphic2d_GraphicObject > & | aGraphicObject, |
const Handle< Geom2d_Curve > & | aCurve | ||
) |
void GGraphic2d_Curve::Draw | ( | const Handle< Graphic2d_Drawer > & | aDrawer | ) | [protected, virtual] |
Implements Graphic2d_Primitive.
Handle_Geom2d_Curve GGraphic2d_Curve::GeomCurve | ( | ) | const |
Standard_Boolean GGraphic2d_Curve::Pick | ( | const Standard_ShortReal | X, |
const Standard_ShortReal | Y, | ||
const Standard_ShortReal | aPrecision, | ||
const Handle< Graphic2d_Drawer > & | aDrawer | ||
) | [protected, virtual] |
Implements Graphic2d_Primitive.
static void GGraphic2d_Curve::Retrieve | ( | Aspect_IFStream & | anIFStream, |
const Handle< Graphic2d_GraphicObject > & | aGraphicObject | ||
) | [static] |
virtual void GGraphic2d_Curve::Save | ( | Aspect_FStream & | aFStream | ) | const [protected, virtual] |
Reimplemented from Graphic2d_Line.