|
|
|
Vector< Cmpt > Class Template ReferenceTemplated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators. More...
Inheritance diagram for Vector< Cmpt >:
![]()
Collaboration diagram for Vector< Cmpt >:
![]()
Detailed Descriptiontemplate<class Cmpt>
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross product operators.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| enum components |
| Vector | ( | const VectorSpace< Vector< Cmpt >, Cmpt, 3 > & | vs | ) | [inline] |
| Vector | ( | const Cmpt & | vx, | |
| const Cmpt & | vy, | |||
| const Cmpt & | vz | |||
| ) | [inline] |
Construct from Istream.
Definition at line 51 of file VectorI.H.
References VectorSpace< Vector< Cmpt >, Cmpt, 3 >::v_, Vector< Cmpt >::X, Vector< Cmpt >::Y, and Vector< Cmpt >::Z.
| const Cmpt & x | ( | ) | const [inline] |
Definition at line 60 of file VectorI.H.
Referenced by geomDecomp::geomDecomp(), Foam::inv(), Foam::operator^(), and Foam::tr().

| const Cmpt & y | ( | ) | const [inline] |
Definition at line 66 of file VectorI.H.
References VectorSpace< Vector< Cmpt >, Cmpt, 3 >::v_, and Vector< Cmpt >::X.
Referenced by geomDecomp::geomDecomp(), Foam::inv(), Foam::operator^(), and Foam::tr().

| const Cmpt & z | ( | ) | const [inline] |
Definition at line 72 of file VectorI.H.
Referenced by geomDecomp::geomDecomp(), Foam::inv(), Foam::operator^(), and Foam::tr().

| Cmpt & x | ( | ) | [inline] |
Definition at line 79 of file VectorI.H.
References VectorSpace< Vector< Cmpt >, Cmpt, 3 >::v_, and Vector< Cmpt >::Z.
| Cmpt & y | ( | ) | [inline] |
Definition at line 85 of file VectorI.H.
References VectorSpace< Vector< Cmpt >, Cmpt, 3 >::v_, and Vector< Cmpt >::X.
| const Vector< Cmpt > & centre | ( | const Foam::List< Vector< Cmpt > > & | ) | const [inline] |
Return *this (used for point which is a typedef to Vector<scalar>.
Definition at line 101 of file VectorI.H.
References VectorSpace< Vector< Cmpt >, Cmpt, 3 >::v_, and Vector< Cmpt >::Z.
const char* componentNames[] [static] |