OpenFOAM logo
Open Source CFD Toolkit

line2D Class Reference

Inheritance diagram for line2D:

Inheritance graph
[legend]
Collaboration diagram for line2D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 line2D (const point2D &, const point2D &)
 Construct from components.
 line2D (Istream &)
 Construct from Istream.
virtual ~line2D ()
const point2D & start () const
const point2D & end () const
virtual void draw (Gstream &) const
 Draw.
virtual void write (Ostream &) const
 Write.
void operator= (const line2D &)

Friends

Gstream & operator<< (Gstream &, const line2D &)
Ostream & operator<< (Ostream &, const line2D &)

Constructor & Destructor Documentation

line2D (  const point2D &  ,
const point2D & 
)  [inline]
 

Construct from components.

Definition at line 48 of file line2DI.H.

line2D (  Istream &   ) 
 

Construct from Istream.

virtual ~line2D (   )  [virtual]
 


Member Function Documentation

virtual void draw (  Gstream &   )  const [virtual]
 

Draw.

Implements shape2D.

const point2D & end (   )  const [inline]
 

Definition at line 63 of file line2DI.H.

References line2D::endpoint, and line2D::sttpoint.

void operator= (  const line2D &   )  [inline]
 

Definition at line 71 of file line2DI.H.

References Gstream::draw().

Here is the call graph for this function:

const point2D & start (   )  const [inline]
 

Definition at line 57 of file line2DI.H.

virtual void write (  Ostream &   )  const [virtual]
 

Write.

Implements shape2D.


Friends And Related Function Documentation

Ostream& operator<< (  Ostream &  ,
const line2D & 
)  [friend]
 

Gstream& operator<< (  Gstream &  xout,
const line2D &  l
)  [friend]
 

Definition at line 80 of file line2DI.H.


The documentation for this class was generated from the following files:
For further information go to www.openfoam.org