56template<
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;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
Cmpt & y()
Access to the vector y component.
Vector< label > labelType
Equivalent type of labels used for valid component indexing.
Vector & operator=(const Vector &)=default
Copy assignment.
components
Component labeling enumeration.
Cmpt & x()
Access to the vector x component.
static constexpr direction rank
Rank of Vector is 1.
Vector< Cmpt > & normalise(const scalar tol=ROOTVSMALL)
Inplace normalise the vector by its magnitude.
const Vector< Cmpt > & centre(const Foam::UList< Vector< Cmpt > > &) const
Return *this (used for point which is a typedef to Vector<scalar>.
Vector(const Vector &)=default
Copy construct.
Cmpt & z()
Access to the vector z component.
Vector()=default
Default construct.
Vector< Cmpt > & removeCollinear(const Vector< Cmpt > &unitVec)
Vector< solveScalar > type
The extended precision type (solveScalar for float)
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
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 if a data type is composed solely of Foam::label elements.
A template class to specify if a data type is composed solely of Foam::scalar elements.
A template class to specify that a data type can be considered as being contiguous in memory.