Open CASCADE Technology 6.6.0
|
#include <Draw_Segment2D.hxx>
Public Member Functions | |
Draw_Segment2D (const gp_Pnt2d &p1, const gp_Pnt2d &p2, const Draw_Color &col) | |
void | DrawOn (Draw_Display &dis) const |
const gp_Pnt2d & | First () const |
void | First (const gp_Pnt2d &P) |
const gp_Pnt2d & | Last () const |
void | Last (const gp_Pnt2d &P) |
virtual void | Dump (Standard_OStream &S) const |
For variable dump. | |
virtual void | Whatis (Draw_Interpretor &I) const |
For variable whatis command. Set as a result the type of the variable. |
Draw_Segment2D::Draw_Segment2D | ( | const gp_Pnt2d & | p1, |
const gp_Pnt2d & | p2, | ||
const Draw_Color & | col | ||
) |
void Draw_Segment2D::DrawOn | ( | Draw_Display & | dis | ) | const [virtual] |
Implements Draw_Drawable3D.
virtual void Draw_Segment2D::Dump | ( | Standard_OStream & | S | ) | const [virtual] |
Reimplemented from Draw_Drawable3D.
const gp_Pnt2d& Draw_Segment2D::First | ( | ) | const |
void Draw_Segment2D::First | ( | const gp_Pnt2d & | P | ) |
const gp_Pnt2d& Draw_Segment2D::Last | ( | ) | const |
void Draw_Segment2D::Last | ( | const gp_Pnt2d & | P | ) |
virtual void Draw_Segment2D::Whatis | ( | Draw_Interpretor & | I | ) | const [virtual] |
Reimplemented from Draw_Drawable3D.