Developer Documentation
|
#include <OpenMesh/Core/Math/VectorT.hh>
Related Functions | |
(Note that these are not member functions.) | |
template<typename Scalar1 , typename Scalar2 , int N> | |
VectorT< Scalar1, N > | operator* (Scalar2 _s, const VectorT< Scalar1, 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) |
template<typename Scalar , int DIM> | |
Scalar | dot (const VectorT< Scalar, DIM > &_v1, const VectorT< Scalar, DIM > &_v2) |
template<typename LScalar , typename RScalar , int DIM> | |
auto | cross (const VectorT< LScalar, DIM > &_v1, const VectorT< RScalar, DIM > &_v2) -> decltype(_v1%_v2) |
template<typename Scalar , int DIM> | |
void | swap (VectorT< Scalar, DIM > &_v1, VectorT< Scalar, DIM > &_v2) noexcept(noexcept(_v1.swap(_v2))) |
template<typename Scalar1 , typename Scalar2 , int N> | |
VectorT< Scalar1, N > | operator* (Scalar2 _s, const VectorT< Scalar1, 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) |
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.
Definition at line 83 of file Vector11T.hh.
|
related |
symmetric version of the cross product
Definition at line 272 of file MeshNode2T.cc.
|
related |
symmetric version of the cross product
Definition at line 272 of file VectorT.hh.
|
related |
symmetric version of the cross product
Definition at line 707 of file Vector11T.hh.
|
related |
symmetric version of the dot product
Definition at line 263 of file VectorT.hh.
|
related |
symmetric version of the dot product
Definition at line 263 of file MeshNode2T.cc.
|
related |
symmetric version of the dot product
Definition at line 699 of file Vector11T.hh.
|
related |
scalar * vector
Definition at line 254 of file MeshNode2T.cc.
|
related |
scalar * vector
Definition at line 254 of file VectorT.hh.
|
related |
non-member swap
Definition at line 715 of file Vector11T.hh.