35template <
class DT>
class Tvec2;
36template <
class DT>
class Tvec3;
37template <
class DT>
class Tvec4;
74 inline Tvec6(
const DT x,
const DT y,
const DT z,
const DT c,
const DT t,
const DT u)
85 inline Tvec6(
const Tvec2<DT>& v,
const DT z,
const DT c,
const DT t,
const DT u)
123 inline void assign(
const DT x,
const DT y,
const DT z,
const DT c,
const DT t,
const DT u)
FloatingPointVector(DT value=DT(0))
Declaration of float vector type traits.
Forward declarations to resolve header file dependencies.
Forward declarations to resolve header file dependencies.
A six dimensional vector class for floating point types.
Tvec6(const DT x, const DT y, const DT z, const DT c, const DT t, const DT u)
Tvec6< DT > & operator+=(const Tvec2< DT > &v)
Incrementation by a Tvec2.
FloatingPointVector< DT, 6 > Superclass
A typedef as a shorthand for the base class.
Tvec6(const Superclass &v)
const Tvec3< DT > getVec3() const
Returns a Tvec3 from components 0, 1, and 2.
Tvec6(const Tvec3< DT > &v, const DT c, const DT t, const DT u)
Casts Tvec3 to Tvec6. Last components are set to c, t, and u.
const Tvec4< DT > getVec4() const
Returns a Tvec4 from components 0, 1, 2, and 3.
void assign(const DT x, const DT y, const DT z, const DT c, const DT t, const DT u)
Sets all components to the passed values.
Tvec6< DT > & operator+=(const Tvec3< DT > &v)
Incrementation by a Tvec3.
DT ComponentType
A typedef to 'export' the type of components.
Tvec6(const Tvec2< DT > &v, const DT z, const DT c, const DT t, const DT u)
Casts Tvec2 to Tvec6. Last components are set to z, c, t, and u.
Tvec6(const Tvec4< DT > &v, const DT t, const DT u)
Casts Tvec4 to Tvec6. Last components are set to t and u.
Tvec6< DT > & operator+=(const Tvec4< DT > &v)
Incrementation by a Tvec4.
Tvec6< MLldouble > Vector6ld
A vector with six components of type long double.
Tvec6< MLdouble > Vector6d
A vector with six components of type double.
Tvec6< MLfloat > Vector6f
A vector with six components of type float.
Tvec6< MLdouble > Vector6
A vector with six components of type double.