Go to the documentation of this file.
56 template<
class T>
class List;
103 template<
class Cmpt2>
107 inline Vector(
const Cmpt& vx,
const Cmpt& vy,
const Cmpt& vz);
116 inline const Cmpt&
x()
const;
119 inline const Cmpt&
y()
const;
122 inline const Cmpt&
z()
const;
Vector & operator=(const Vector &)=default
Copy assignment.
const Cmpt & x() const
Access to the vector x component.
The extended precision type (solveScalar for float)
Vector< Cmpt > & normalise()
Normalise the vector by its magnitude.
Vector()=default
Default construct.
static constexpr direction rank
Rank of Vector is 1.
const Cmpt & z() const
Access to the vector z component.
components
Component labeling enumeration.
A template class to specify if a data type is composed solely of Foam::label elements.
Vector< solveScalar > type
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const Vector< Cmpt > & centre(const Foam::List< Vector< Cmpt >> &) const
Return *this (used for point which is a typedef to Vector<scalar>.
A template class to specify if a data type is composed solely of Foam::scalar elements.
const Cmpt & y() const
Access to the vector y component.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A template class to specify that a data type can be considered as being contiguous in memory.
Vector< label > labelType
Equivalent type of labels used for valid component indexing.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...