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

arrow2D Class Reference

Inheritance diagram for arrow2D:

Inheritance graph
[legend]
Collaboration diagram for arrow2D:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 64 of file arrow2D.H.


Public Member Functions

 arrow2D (const point2D, const point2D, const scalar=1.0, const scalar=0.1)
 Construct from components.
 arrow2D (Istream &)
 Construct from Istream.
virtual ~arrow2D ()
const point2D & Head () const
const point2D & Tail () const
const point2D & Head1 () const
const point2D & Head2 () const
virtual void draw (Gstream &) const
 Draw.
virtual void write (Ostream &) const
 Write.
void operator= (const arrow2D &)

Friends

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

Constructor & Destructor Documentation

arrow2D ( const   point2D,
const   point2D,
const   scalar = 1.0,
const   scalar = 0.1 
) [inline]

Construct from components.

Definition at line 63 of file arrow2DI.H.

arrow2D ( Istream &   ) 

Construct from Istream.

virtual ~arrow2D (  )  [virtual]


Member Function Documentation

const point2D & Head (  )  const [inline]

Definition at line 81 of file arrow2DI.H.

const point2D & Tail (  )  const [inline]

Definition at line 86 of file arrow2DI.H.

const point2D & Head1 (  )  const [inline]

Definition at line 91 of file arrow2DI.H.

const point2D & Head2 (  )  const [inline]

Definition at line 96 of file arrow2DI.H.

References arrow2D::head, arrow2D::head1, and arrow2D::tail.

virtual void draw ( Gstream &   )  const [virtual]

Draw.

Implements shape2D.

virtual void write ( Ostream &   )  const [virtual]

Write.

Implements shape2D.

void operator= ( const arrow2D &   )  [inline]

Definition at line 104 of file arrow2DI.H.


Friends And Related Function Documentation

Gstream& operator<< ( Gstream &  ,
const arrow2D &   
) [friend]

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


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