85 inline Vector2D(
const Cmpt& vx,
const Cmpt& vy);
95 inline const Cmpt&
x()
const;
96 inline const Cmpt&
y()
const;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
scalar perp(const Vector2D< Cmpt > &b) const
Perp dot product (dot product with perpendicular vector)
static const direction rank
Rank of Vector2D is 1.
const dimensionedScalar & b
Wien displacement law constant: default SI units: [m K].
components
Component labeling enumeration.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Vector2D()
Construct null.
Templated 2D Vector derived from VectorSpace adding construction from 2 components, element access using x() and y() member functions and the inner-product (dot-product).
Vector2D< label > labelType
Equivalent type of labels used for valid component indexing.