Public Member Functions

mth::Vector3< T > Class Template Reference

convenience wrapper over apf::Vector<3> More...

Inheritance diagram for mth::Vector3< T >:
mth::Vector< T, 3 > can::Array< T, N >

List of all members.

Public Member Functions

 Vector3 ()
 default constructor
 Vector3 (Vector< T, 3 > const &other)
 copy constructor
 Vector3 (T const &a, T const &b, T const &c)
 construct from 3 values
 Vector3 (T const *abc)
 construct from an array
void toArray (T *abc) const
 write vector to array
void fromArray (T const *abc)
 read vector from array
T & x ()
 mutable x component
T & y ()
 mutable y component
T & z ()
 mutable z component
T const & x () const
 immutable x component
T const & y () const
 immutable y component
T const & z () const
 immutable z component

Detailed Description

template<class T>
class mth::Vector3< T >

convenience wrapper over apf::Vector<3>

this class add some functions that could not be filled in by templates, mainly component specific initializaiton and x/y/z names


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines