DrawTrSurf_BezierCurve2d Class Reference

#include <DrawTrSurf_BezierCurve2d.hxx>

Inheritance diagram for DrawTrSurf_BezierCurve2d:
Inheritance graph
[legend]

Public Member Functions

 DrawTrSurf_BezierCurve2d (const Handle< Geom2d_BezierCurve > &C)
 creates a drawable Bezier curve from a Bezier curve of
package Geom2d.

 DrawTrSurf_BezierCurve2d (const Handle< Geom2d_BezierCurve > &C, const Draw_Color &CurvColor, const Draw_Color &PolesColor, const Standard_Boolean ShowPoles, const Standard_Integer Discret)
void DrawOn (Draw_Display &dis) const
 this is defined only to tell C++ not to complain
about inheriting a pure virtual method.

void ShowPoles ()
void ClearPoles ()
void FindPole (const Standard_Real X, const Standard_Real Y, const Draw_Display &D, const Standard_Real Prec, Standard_Integer &Index) const
 Returns in <Index> the index of the first pole of the
curve projected by the Display <D> at a distance lower
than <Prec> from <X,Y>. If no pole is found index is
set to 0, else index is always greater than the input
value of index.

void SetPolesColor (const Draw_Color &aColor)
Draw_Color PolesColor () const
virtual Handle_Draw_Drawable3D Copy () const
 For variable copy.


Constructor & Destructor Documentation

DrawTrSurf_BezierCurve2d::DrawTrSurf_BezierCurve2d ( const Handle< Geom2d_BezierCurve > &  C  ) 
DrawTrSurf_BezierCurve2d::DrawTrSurf_BezierCurve2d ( const Handle< Geom2d_BezierCurve > &  C,
const Draw_Color CurvColor,
const Draw_Color PolesColor,
const Standard_Boolean  ShowPoles,
const Standard_Integer  Discret 
)

Member Function Documentation

void DrawTrSurf_BezierCurve2d::ClearPoles (  ) 
virtual Handle_Draw_Drawable3D DrawTrSurf_BezierCurve2d::Copy (  )  const [virtual]

Reimplemented from DrawTrSurf_Curve2d.

void DrawTrSurf_BezierCurve2d::DrawOn ( Draw_Display dis  )  const [virtual]

Reimplemented from DrawTrSurf_Curve2d.

void DrawTrSurf_BezierCurve2d::FindPole ( const Standard_Real  X,
const Standard_Real  Y,
const Draw_Display D,
const Standard_Real  Prec,
Standard_Integer Index 
) const
Draw_Color DrawTrSurf_BezierCurve2d::PolesColor (  )  const
void DrawTrSurf_BezierCurve2d::SetPolesColor ( const Draw_Color aColor  ) 
void DrawTrSurf_BezierCurve2d::ShowPoles (  ) 

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:54:10 2011 for Open CASCADE Technology by  doxygen 1.6.3