Functions | |
template<class T > | |
bool | areParallel (const Vector< T > &a, const Vector< T > &b, const T &tolerance=SMALL) |
template<class T > | |
bool | areOrthogonal (const Vector< T > &a, const Vector< T > &b, const T &tolerance=SMALL) |
template<class T > | |
bool | areAcute (const Vector< T > &a, const Vector< T > &b) |
template<class T > | |
bool | areObtuse (const Vector< T > &a, const Vector< T > &b) |
template<class T > | |
T | cosPhi (const Vector< T > &a, const Vector< T > &b, const T &tolerance=SMALL) |
template<class T > | |
T | radAngleBetween (const Vector< T > &a, const Vector< T > &b, const T &tolerance=SMALL) |
template<class T > | |
T | degAngleBetween (const Vector< T > &a, const Vector< T > &b, const T &tolerance=SMALL) |
bool Foam::vectorTools::areParallel | ( | const Vector< T > & | a, |
const Vector< T > & | b, | ||
const T & | tolerance = SMALL |
||
) |
Definition at line 52 of file vectorTools.H.
References Foam::constant::physicoChemical::b, and Foam::mag().
Referenced by indexedCell::potentialCoplanarCell().
bool Foam::vectorTools::areOrthogonal | ( | const Vector< T > & | a, |
const Vector< T > & | b, | ||
const T & | tolerance = SMALL |
||
) |
Definition at line 69 of file vectorTools.H.
References Foam::constant::physicoChemical::b, and Foam::mag().
Definition at line 81 of file vectorTools.H.
References Foam::constant::physicoChemical::b.
Definition at line 92 of file vectorTools.H.
References Foam::constant::physicoChemical::b.
T Foam::vectorTools::cosPhi | ( | const Vector< T > & | a, |
const Vector< T > & | b, | ||
const T & | tolerance = SMALL |
||
) |
Definition at line 103 of file vectorTools.H.
References Foam::constant::physicoChemical::b, Foam::mag(), Foam::max(), and Foam::min().
Referenced by Foam::diff(), radAngleBetween(), and radiativeIntensityRay::radiativeIntensityRay().
T Foam::vectorTools::radAngleBetween | ( | const Vector< T > & | a, |
const Vector< T > & | b, | ||
const T & | tolerance = SMALL |
||
) |
Definition at line 118 of file vectorTools.H.
References Foam::acos(), Foam::constant::physicoChemical::b, cosPhi(), Foam::mag(), Foam::max(), and Foam::min().
Referenced by degAngleBetween().
T Foam::vectorTools::degAngleBetween | ( | const Vector< T > & | a, |
const Vector< T > & | b, | ||
const T & | tolerance = SMALL |
||
) |
Definition at line 133 of file vectorTools.H.
References Foam::constant::physicoChemical::b, radAngleBetween(), and Foam::radToDeg().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.