class for mathematical vector
More...
#include <VectorCast.h>
List of all members.
Public Member Functions
- VectorCast ()
- VectorCast (const tlp::Vector< float, 3 > &v)
- TYPE & operator*= (const Obj &obj)
- TYPE & operator*= (const Vector< Obj, SIZE > &vec)
- TYPE & operator/= (const Obj &obj)
- TYPE & operator/= (const Vector< Obj, SIZE > &vec)
- TYPE & operator+= (const Obj &obj)
- TYPE & operator+= (const Vector< Obj, SIZE > &vec)
- TYPE & operator-= (const Obj &obj)
- TYPE & operator-= (const Vector< Obj, SIZE > &vec)
- TYPE & operator^= (const Vector< Obj, SIZE > &vec)
- TYPE & fill (const Obj &obj)
- TYPE operator* (const Vector< Obj, SIZE > &v) const
- TYPE operator* (const Obj &v) const
- TYPE operator+ (const Vector< Obj, SIZE > &v) const
- TYPE operator+ (const Obj &v) const
- TYPE operator- (const Vector< Obj, SIZE > &v) const
- TYPE operator- (const Obj &v) const
- TYPE operator/ (const Vector< Obj, SIZE > &v) const
- TYPE operator/ (const Obj &v) const
- TYPE operator^ (const Vector< Obj, SIZE > &v) const
Detailed Description
class for mathematical vector
Enables to create a Vector of Obj with a fixed size and provides Mathematical operation. Mathematical operators must be defined for Obj. Out of bound accesses are only checked in debug mode.
- Author:
- : David Auber auber.nosp@m.@tul.nosp@m.ip-so.nosp@m.ftwa.nosp@m.re.or.nosp@m.g
- Version:
- 0.0.1 24/01/2003
Constructor & Destructor Documentation
Member Function Documentation
| TYPE tlp::VectorCast::operator* |
( |
const Vector< Obj, SIZE > & |
v | ) |
const [inline] |
| TYPE tlp::VectorCast::operator* |
( |
const Obj & |
v | ) |
const [inline] |
| TYPE& tlp::VectorCast::operator*= |
( |
const Obj & |
obj | ) |
[inline] |
| TYPE& tlp::VectorCast::operator*= |
( |
const Vector< Obj, SIZE > & |
vec | ) |
[inline] |
| TYPE tlp::VectorCast::operator+ |
( |
const Vector< Obj, SIZE > & |
v | ) |
const [inline] |
| TYPE tlp::VectorCast::operator+ |
( |
const Obj & |
v | ) |
const [inline] |
| TYPE& tlp::VectorCast::operator+= |
( |
const Obj & |
obj | ) |
[inline] |
| TYPE& tlp::VectorCast::operator+= |
( |
const Vector< Obj, SIZE > & |
vec | ) |
[inline] |
| TYPE tlp::VectorCast::operator- |
( |
const Vector< Obj, SIZE > & |
v | ) |
const [inline] |
| TYPE tlp::VectorCast::operator- |
( |
const Obj & |
v | ) |
const [inline] |
| TYPE& tlp::VectorCast::operator-= |
( |
const Obj & |
obj | ) |
[inline] |
| TYPE& tlp::VectorCast::operator-= |
( |
const Vector< Obj, SIZE > & |
vec | ) |
[inline] |
| TYPE tlp::VectorCast::operator/ |
( |
const Vector< Obj, SIZE > & |
v | ) |
const [inline] |
| TYPE tlp::VectorCast::operator/ |
( |
const Obj & |
v | ) |
const [inline] |
| TYPE& tlp::VectorCast::operator/= |
( |
const Obj & |
obj | ) |
[inline] |
| TYPE& tlp::VectorCast::operator/= |
( |
const Vector< Obj, SIZE > & |
vec | ) |
[inline] |
| TYPE tlp::VectorCast::operator^ |
( |
const Vector< Obj, SIZE > & |
v | ) |
const [inline] |
| TYPE& tlp::VectorCast::operator^= |
( |
const Vector< Obj, SIZE > & |
vec | ) |
[inline] |