OCC Main Page | Draw | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

Draw
TKDraw
Draw


Draw_Segment2D Class Reference

#include <Draw_Segment2D.hxx>

Inheritance diagram for Draw_Segment2D:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT Draw_Segment2D (const gp_Pnt2d &p1, const gp_Pnt2d &p2, const Draw_Color &col)
Standard_EXPORT void DrawOn (Draw_Display &dis) const
Standard_EXPORT const gp_Pnt2d & First () const
Standard_EXPORT void First (const gp_Pnt2d &P)
Standard_EXPORT const gp_Pnt2d & Last () const
Standard_EXPORT void Last (const gp_Pnt2d &P)
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

gp_Pnt2d myFirst
gp_Pnt2d myLast
Draw_Color myColor

Constructor & Destructor Documentation

Standard_EXPORT Draw_Segment2D::Draw_Segment2D const gp_Pnt2d &  p1,
const gp_Pnt2d &  p2,
const Draw_Color col
 


Member Function Documentation

Standard_EXPORT void Draw_Segment2D::DrawOn Draw_Display dis  )  const [virtual]
 

Implements Draw_Drawable3D.

Standard_EXPORT void Draw_Segment2D::First const gp_Pnt2d &  P  ) 
 

Standard_EXPORT const gp_Pnt2d& Draw_Segment2D::First  )  const
 

Standard_EXPORT const Draw_Segment2D::Handle Standard_Type   )  const
 

Reimplemented from Draw_Drawable2D.

Standard_EXPORT void Draw_Segment2D::Last const gp_Pnt2d &  P  ) 
 

Standard_EXPORT const gp_Pnt2d& Draw_Segment2D::Last  )  const
 


Field Documentation

Draw_Color Draw_Segment2D::myColor [private]
 

gp_Pnt2d Draw_Segment2D::myFirst [private]
 

gp_Pnt2d Draw_Segment2D::myLast [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:51:09 2008 for OpenCASCADE by  doxygen 1.4.1