OpenFOAM logo
Open Source CFD Toolkit

polygon2D Class Reference

Inheritance diagram for polygon2D:

Inheritance graph
[legend]
Collaboration diagram for polygon2D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 polygon2D (const point2D &, const point2D &, const point2D &)
 Construct from components.
 polygon2D (Istream &)
 Construct from Istream.
virtual ~polygon2D ()
const List< point2D > & verts () const
 Access.
virtual void draw (Gstream &) const
 Draw.
virtual void write (Ostream &) const
 Write.
void operator= (const polygon2D &)

Friends

Gstreamoperator<< (Gstream &, const polygon2D &)
Ostreamoperator<< (Ostream &, const polygon2D &)

Constructor & Destructor Documentation

polygon2D const point2D ,
const point2D ,
const point2D
[inline]
 

Construct from components.

Definition at line 49 of file polygon2DI.H.

polygon2D Istream  ) 
 

Construct from Istream.

virtual ~polygon2D  )  [virtual]
 


Member Function Documentation

virtual void draw Gstream  )  const [virtual]
 

Draw.

Implements shape2D.

void operator= const polygon2D  )  [inline]
 

const List< point2D > & verts  )  const [inline]
 

Access.

Definition at line 65 of file polygon2DI.H.

References Gstream::draw(), and p.

Here is the call graph for this function:

virtual void write Ostream  )  const [virtual]
 

Write.

Implements shape2D.


Friends And Related Function Documentation

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

Gstream& operator<< Gstream gs,
const polygon2D p
[friend]
 

Definition at line 73 of file polygon2DI.H.


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