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

coord2D Class Reference

List of all members.

Detailed Description

Definition at line 60 of file coord2D.H.


Public Member Functions

 coord2D (const label, const label)
 Construct from components.
 coord2D (const coord2D &)
 Construct as copy.
 ~coord2D ()
label x () const
label y () const
void operator= (const coord2D &)

Friends

coord2D operator+ (const coord2D &, const coord2D &)
 addition + subtraction
coord2D operator- (const coord2D &, const coord2D &)
coord2D operator/ (const coord2D &, const int &)
 modulo division

Constructor & Destructor Documentation

coord2D ( const   label,
const   label 
) [inline]

Construct from components.

Definition at line 46 of file coord2DI.H.

coord2D ( const coord2D &   )  [inline]

Construct as copy.

Definition at line 54 of file coord2DI.H.

~coord2D (  )  [inline]

Definition at line 63 of file coord2DI.H.


Member Function Documentation

label x (  )  const [inline]

Definition at line 69 of file coord2DI.H.

label y (  )  const [inline]

Definition at line 75 of file coord2DI.H.

References coord2D::X, and coord2D::Y.

void operator= ( const coord2D &   )  [inline]

Definition at line 83 of file coord2DI.H.

References coord2D::X, and coord2D::Y.


Friends And Related Function Documentation

coord2D operator+ ( const coord2D &  p1,
const coord2D &  p2 
) [friend]

addition + subtraction

Definition at line 92 of file coord2DI.H.

coord2D operator- ( const coord2D &  p1,
const coord2D &  p2 
) [friend]

Definition at line 98 of file coord2DI.H.

coord2D operator/ ( const coord2D &  ,
const int &   
) [friend]

modulo division


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