VectorT Class Reference

#include <OpenMesh/Core/Math/VectorT.hh>


Public Member Functions

template<>
VectorT< float, 3 > operator% (const VectorT< float, 3 > &_rhs) const
template<>
VectorT< double, 3 > operator% (const VectorT< double, 3 > &_rhs) const

Related Functions

(Note that these are not member functions.)

template<typename Scalar, int N>
VectorT< Scalar, N > operator* (Scalar _s, const VectorT< Scalar, N > &_v)
template<typename Scalar, int N>
Scalar dot (const VectorT< Scalar, N > &_v1, const VectorT< Scalar, N > &_v2)
template<typename Scalar, int N>
VectorT< Scalar, N > cross (const VectorT< Scalar, N > &_v1, const VectorT< Scalar, N > &_v2)


Detailed Description

A vector is an array of <N> values of type <Scalar>. The actual data is stored in an VectorDataT, this class just adds the necessary operators.

Friends And Related Function Documentation

template<typename Scalar, int N>
VectorT< Scalar, N > operator* ( Scalar  _s,
const VectorT< Scalar, N > &  _v 
) [related]

scalar * vector

template<typename Scalar, int N>
Scalar dot ( const VectorT< Scalar, N > &  _v1,
const VectorT< Scalar, N > &  _v2 
) [related]

symmetric version of the dot product

template<typename Scalar, int N>
VectorT< Scalar, N > cross ( const VectorT< Scalar, N > &  _v1,
const VectorT< Scalar, N > &  _v2 
) [related]

symmetric version of the cross product


The documentation for this class was generated from the following file:

Generated on Fri Jan 16 13:00:19 2009 by  doxygen 1.5.5