OpenFOAM logo
Open Source CFD Toolkit

string2D Class Reference

Inheritance diagram for string2D:

Inheritance graph
[legend]
Collaboration diagram for string2D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 string2D (const point2D &, const string &)
 Construct from components.
 string2D (const point2D &, const string &, const point2D &)
 string2D (Istream &)
 Construct from Istream.
virtual ~string2D ()
bool horizontal () const
scalar x () const
scalar y () const
const string & text () const
const point2D & startPt () const
virtual void draw (Gstream &) const
 Draw.
virtual void write (Ostream &) const
 Write.
void operator= (const string2D &)

Friends

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

Constructor & Destructor Documentation

string2D (  const point2D &  ,
const string & 
)  [inline]
 

Construct from components.

Definition at line 48 of file string2DI.H.

string2D (  const point2D &  ,
const string &  ,
const point2D & 
)  [inline]
 

Definition at line 57 of file string2DI.H.

string2D (  Istream &   ) 
 

Construct from Istream.

virtual ~string2D (   )  [virtual]
 


Member Function Documentation

virtual void draw (  Gstream &   )  const [virtual]
 

Draw.

Implements shape2D.

bool horizontal (   )  const [inline]
 

Definition at line 68 of file string2DI.H.

References point2D::x().

Here is the call graph for this function:

void operator= (  const string2D &   )  [inline]
 

Definition at line 96 of file string2DI.H.

const point2D & startPt (   )  const [inline]
 

Definition at line 88 of file string2DI.H.

References string2D::characters, string2D::direction, and string2D::start.

const string & text (   )  const [inline]
 

Definition at line 83 of file string2DI.H.

virtual void write (  Ostream &   )  const [virtual]
 

Write.

Implements shape2D.

scalar x (   )  const [inline]
 

Definition at line 73 of file string2DI.H.

References point2D::y().

Here is the call graph for this function:

scalar y (   )  const [inline]
 

Definition at line 78 of file string2DI.H.


Friends And Related Function Documentation

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

Gstream& operator<< (  Gstream &  gs,
const string2D &  s2D
)  [friend]
 

Definition at line 107 of file string2DI.H.


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