OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

line2D Class Reference

Inheritance diagram for line2D:

Inheritance graph
[legend]
Collaboration diagram for line2D:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 63 of file line2D.H.


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

const point2D & start (  )  const [inline]

Definition at line 57 of file line2DI.H.

const point2D & end (  )  const [inline]

Definition at line 63 of file line2DI.H.

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

virtual void draw ( Gstream &   )  const [virtual]

Draw.

Implements shape2D.

virtual void write ( Ostream &   )  const [virtual]

Write.

Implements shape2D.

void operator= ( const line2D &   )  [inline]

Definition at line 71 of file line2DI.H.

References Gstream::draw().

Here is the call graph for this function:


Friends And Related Function Documentation

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

Definition at line 80 of file line2DI.H.

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


The documentation for this class was generated from the following files: Copyright © 2000-2007 OpenCFD Ltd