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

polygon2D Class Reference

Inheritance diagram for polygon2D:

Inheritance graph
[legend]
Collaboration diagram for polygon2D:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 64 of file polygon2D.H.


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

Gstream & operator<< (Gstream &, const polygon2D &)
Ostream & operator<< (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

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 draw ( Gstream &   )  const [virtual]

Draw.

Implements shape2D.

virtual void write ( Ostream &   )  const [virtual]

Write.

Implements shape2D.

void operator= ( const polygon2D &   )  [inline]


Friends And Related Function Documentation

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

Definition at line 73 of file polygon2DI.H.

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


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