OpenFOAM logo
Open Source CFD Toolkit

point2DI.H File Reference


Detailed Description

View point2DI.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description


Definition in file point2DI.H.

Go to the source code of this file.

Namespaces

namespace  Foam

Functions

point2D operator+ (const point2D &p1, const point2D &p2)
point2D operator- (const point2D &p1, const point2D &p2)
point2D operator * (const scalar &s, const point2D &p)
bool operator== (const point2D &p1, const point2D &p2)
bool operator!= (const point2D &p1, const point2D &p2)
scalar distance (const point2D &p1, const point2D &p2)
Ostream & operator<< (Ostream &os, const point2D &p)


Function Documentation

scalar distance const point2D &  p1,
const point2D &  p2
[inline]
 

Definition at line 157 of file point2DI.H.

References p, and Vector::X.

point2D operator * const scalar &  s,
const point2D &  p
[inline]
 

Definition at line 139 of file point2DI.H.

References point2D::X, and point2D::Y.

Referenced by UILList::const_iterator::const_iterator(), LPtrList::const_iterator::const_iterator(), LList::const_iterator::const_iterator(), UILList::iterator::iterator(), LPtrList::iterator::iterator(), and LList::iterator< LListBase, T * >::iterator().

bool operator!= const point2D &  p1,
const point2D &  p2
[inline]
 

Definition at line 151 of file point2DI.H.

References Foam::sqr(), Foam::sqrt(), point2D::X, and point2D::Y.

Here is the call graph for this function:

point2D operator+ const point2D &  p1,
const point2D &  p2
[inline]
 

Definition at line 127 of file point2DI.H.

References point2D::X, and point2D::Y.

point2D operator- const point2D &  p1,
const point2D &  p2
[inline]
 

Definition at line 133 of file point2DI.H.

References p, Vector::X, and Vector::Y.

Ostream& operator<< Ostream &  os,
const point2D &  p
[inline]
 

Check state of IOstream

Definition at line 165 of file point2DI.H.

References p.

bool operator== const point2D &  p1,
const point2D &  p2
[inline]
 

Definition at line 145 of file point2DI.H.

For further information go to www.openfoam.org