OpenFOAM logo
Open Source CFD Toolkit

arrow2D Class Reference

Inheritance diagram for arrow2D:

Inheritance graph
[legend]
Collaboration diagram for arrow2D:

Collaboration graph
[legend]
List of all members.

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 point2DHead () const
const point2DTail () const
const point2DHead1 () const
const point2DHead2 () const
virtual void draw (Gstream &) const
 Draw.
virtual void write (Ostream &) const
 Write.
void operator= (const arrow2D &)

Friends

Gstreamoperator<< (Gstream &, const arrow2D &)
Ostreamoperator<< (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

virtual void draw Gstream  )  const [virtual]
 

Draw.

Implements shape2D.

const point2D & Head  )  const [inline]
 

Definition at line 81 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.

void operator= const arrow2D  )  [inline]
 

Definition at line 104 of file arrow2DI.H.

const point2D & Tail  )  const [inline]
 

Definition at line 86 of file arrow2DI.H.

virtual void write Ostream  )  const [virtual]
 

Write.

Implements shape2D.


Friends And Related Function Documentation

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

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


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