OpenFOAM logo
Open Source CFD Toolkit

rectangle2D Class Reference

Inheritance diagram for rectangle2D:

Inheritance graph
[legend]
Collaboration diagram for rectangle2D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 rectangle2D (const point2D, const point2D)
 Construct from components.
 rectangle2D (Istream &)
 Construct from Istream.
virtual ~rectangle2D ()
const point2D & first () const
const point2D & second () const
virtual void draw (Gstream &) const
 Draw.
virtual void write (Ostream &) const
 Write.
void operator= (const rectangle2D &)

Friends

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

Constructor & Destructor Documentation

rectangle2D (  const   point2D,
const   point2D
)  [inline]
 

Construct from components.

Definition at line 48 of file rectangle2DI.H.

rectangle2D (  Istream &   ) 
 

Construct from Istream.

virtual ~rectangle2D (   )  [virtual]
 


Member Function Documentation

virtual void draw (  Gstream &   )  const [virtual]
 

Draw.

Implements shape2D.

const point2D & first (   )  const [inline]
 

Definition at line 57 of file rectangle2DI.H.

void operator= (  const rectangle2D &   )  [inline]
 

Definition at line 71 of file rectangle2DI.H.

References Gstream::draw().

Here is the call graph for this function:

const point2D & second (   )  const [inline]
 

Definition at line 63 of file rectangle2DI.H.

References rectangle2D::fstcorner, and rectangle2D::sndcorner.

virtual void write (  Ostream &   )  const [virtual]
 

Write.

Implements shape2D.


Friends And Related Function Documentation

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

Gstream& operator<< (  Gstream &  gs,
const rectangle2D &  r
)  [friend]
 

Definition at line 80 of file rectangle2DI.H.


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