AGX Dynamics  2.37.2.0
Vec4Template.h File Reference
#include <agx/agxPhysics_export.h>
#include <iosfwd>
#include <agx/agx.h>
#include <agx/Vec3.h>
#include <agx/Math.h>

Go to the source code of this file.

Classes

class  agx::Vec4T< T >
 A class holding 4 dimensional vectors and providing basic arithmetic. More...
 

Namespaces

 agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 

Functions

template<typename T >
Vec4T< T > agx::absolute (const agx::Vec4T< T > &a)
 
template<typename T >
Vec4T< T > agx::clamp (const Vec4T< T > &vec, const Vec4T< T > &minimum, const Vec4T< T > &maximum)
 
template<typename T >
bool agx::equivalent (const agx::Vec4T< T > &a, const agx::Vec4T< T > &b, T epsilon=T(AGX_EQUIVALENT_EPSILON))
 
template<typename T >
Real agx::operator* (const Vec3T< T > &lhs, const Vec4T< T > &rhs)
 Compute the dot product of a (Vec3,1.0) and a Vec4. More...
 
template<typename T >
Real agx::operator* (const Vec4T< T > &lhs, const Vec3T< T > &rhs)
 Compute the dot product of a Vec4 and a (Vec3,1.0). More...
 
template<typename T >
std::ostream & agx::operator<< (std::ostream &output, const Vec4T< T > &v)