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

rectangle2D Class Reference

Inheritance diagram for rectangle2D:

Inheritance graph
[legend]
Collaboration diagram for rectangle2D:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 63 of file rectangle2D.H.


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

const point2D & first (  )  const [inline]

Definition at line 57 of file rectangle2DI.H.

const point2D & second (  )  const [inline]

Definition at line 63 of file rectangle2DI.H.

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

virtual void draw ( Gstream &   )  const [virtual]

Draw.

Implements shape2D.

virtual void write ( Ostream &   )  const [virtual]

Write.

Implements shape2D.

void operator= ( const rectangle2D &   )  [inline]

Definition at line 71 of file rectangle2DI.H.

References Gstream::draw().

Here is the call graph for this function:


Friends And Related Function Documentation

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

Definition at line 80 of file rectangle2DI.H.

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


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