|
Open CASCADE Technology 6.5.2
|
The primitive SetOfCurves
#include <GGraphic2d_SetOfCurves.hxx>

Public Member Functions | |
| GGraphic2d_SetOfCurves (const Handle< Graphic2d_GraphicObject > &aGraphicObject) | |
| Creates an empty set of curves in the graphic object <aGraphicObject>. | |
| void | Add (const Handle< Geom2d_Curve > &aCurve) |
| Add a curve in the set | |
| Standard_Integer | Length () const |
| Returns the number of curves in the set. | |
| Handle_Geom2d_Curve | Values (const Standard_Integer aRank) const |
| Returns the curve of rank <aRank> from the set. | |
Protected Member Functions | |
| void | Draw (const Handle< Graphic2d_Drawer > &aDrawer) |
| Draws the set of curves <me>. | |
| virtual void | DrawElement (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex) |
| Draws element <anIndex> of the set <me>. | |
| virtual void | DrawVertex (const Handle< Graphic2d_Drawer > &aDrawer, const Standard_Integer anIndex) |
| Draws vertex <anIndex> of the set <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 one curve of the set <me> is picked, Standard_False if not. | |
| virtual void | Save (Aspect_FStream &aFStream) const |
| GGraphic2d_SetOfCurves::GGraphic2d_SetOfCurves | ( | const Handle< Graphic2d_GraphicObject > & | aGraphicObject | ) |
| void GGraphic2d_SetOfCurves::Add | ( | const Handle< Geom2d_Curve > & | aCurve | ) |
| void GGraphic2d_SetOfCurves::Draw | ( | const Handle< Graphic2d_Drawer > & | aDrawer | ) | [protected, virtual] |
Implements Graphic2d_Primitive.
| virtual void GGraphic2d_SetOfCurves::DrawElement | ( | const Handle< Graphic2d_Drawer > & | aDrawer, |
| const Standard_Integer | anIndex | ||
| ) | [protected, virtual] |
Reimplemented from Graphic2d_Primitive.
| virtual void GGraphic2d_SetOfCurves::DrawVertex | ( | const Handle< Graphic2d_Drawer > & | aDrawer, |
| const Standard_Integer | anIndex | ||
| ) | [protected, virtual] |
Reimplemented from Graphic2d_Primitive.
| Standard_Integer GGraphic2d_SetOfCurves::Length | ( | ) | const |
| Standard_Boolean GGraphic2d_SetOfCurves::Pick | ( | const Standard_ShortReal | X, |
| const Standard_ShortReal | Y, | ||
| const Standard_ShortReal | aPrecision, | ||
| const Handle< Graphic2d_Drawer > & | aDrawer | ||
| ) | [protected, virtual] |
Implements Graphic2d_Primitive.
| virtual void GGraphic2d_SetOfCurves::Save | ( | Aspect_FStream & | aFStream | ) | const [protected, virtual] |
Reimplemented from Graphic2d_Line.
| Handle_Geom2d_Curve GGraphic2d_SetOfCurves::Values | ( | const Standard_Integer | aRank | ) | const |
1.7.4