AGX Dynamics  2.37.3.2
agxUtil::Spline::Tangent Class Reference

Tangent. More...

#include <Spline.h>

+ Inheritance diagram for agxUtil::Spline::Tangent:

Public Member Functions

 Tangent ()
 
 Tangent (const agx::Vec3 &v)
 
- Public Member Functions inherited from agx::Vec3T< T >
 Vec3T (const Vec3T &copy)=default
 Copy constructor. More...
 
 Vec3T (const Vec3T &copy, Real length)
 
 Vec3T (const Vec3T &copy, T value, size_t i)
 
template<typename T2 >
 Vec3T (const Vec3T< T2 > &copy)
 Copy constructor for other types. More...
 
 Vec3T ()
 Default constructor. More...
 
 Vec3T (T r)
 
 Vec3T (T x, T y, T z)
 
 Vec3T (const T v[3])
 
 Vec3T (const Vec2 &v2, T zz)
 
void clamp (const Vec3T &min, const Vec3T &max)
 Clamp a vector between a lower and upper bound (per component). More...
 
const Vec3T cross (const Vec3T &rhs) const
 Cross product method. More...
 
Real distance (const Vec3T &v2) const
 Distance to another vector. More...
 
Real distance2 (const Vec3T &v2) const
 Squared distance to another vector. More...
 
template<>
Real distance2 (const Vec3T &v2) const
 
template<>
Real distance2 (const Vec3T &v2) const
 
template<>
Real distance2 (const Vec3T &v2) const
 
template<>
Real distance2 (const Vec3T &v2) const
 
bool equalsZero () const
 
Vec3T getPerpendicularUnitVector () const
 
Vec3T getPerpendicularUnitVector (const Vec3T &v2) const
 Return a unit vector perpendicular to this and another vector. More...
 
bool isFinite () const
 
bool isNaN () const
 
bool isValid () const
 
Real length () const
 Length of the vector = sqrt( vec . More...
 
Real length2 () const
 Length squared of the vector = vec . More...
 
T maxComponent () const
 
size_t maxElement () const
 
T minComponent () const
 
size_t minElement () const
 
Vec3T normal () const
 
Real normalize ()
 Normalize the vector so that it has length unity. More...
 
bool operator!= (const Vec3T &v) const
 In-equality test. More...
 
T operator* (const Vec3T &rhs) const
 Dot product. More...
 
const Vec3T operator* (T rhs) const
 Multiply by scalar. More...
 
Vec3T & operator*= (T rhs)
 Unary multiply by scalar. More...
 
const Vec3T operator+ (const Vec3T &rhs) const
 Binary vector add. More...
 
const Vec3T operator+ (const T &rhs) const
 Binary vector add. More...
 
Vec3T & operator+= (const Vec3T &rhs)
 Unary vector add. More...
 
Vec3T & operator+= (const T &rhs)
 Unary vector add. More...
 
const Vec3T operator- (const Vec3T &rhs) const
 Binary vector subtract. More...
 
const Vec3T operator- (const T &rhs) const
 Binary vector subtract. More...
 
const Vec3T operator- () const
 Negation operator. More...
 
Vec3T & operator-= (const Vec3T &rhs)
 Unary vector subtract. More...
 
Vec3T & operator-= (const T &rhs)
 Unary vector subtract. More...
 
const Vec3T operator/ (T rhs) const
 Divide by scalar. More...
 
Vec3T & operator/= (T rhs)
 Unary divide by scalar. More...
 
bool operator== (const Vec3T &v) const
 Equality test. More...
 
T & operator[] (size_t i)
 
const T & operator[] (size_t i) const
 
const Vec3T operator^ (const Vec3T &rhs) const
 Cross product operator. More...
 
T * ptr ()
 
const T * ptr () const
 
void set (T x, T y, T z)
 
void set (T value)
 
void set (const Vec3T &rhs)
 
Real setLength (Real newLength)
 Scale the vector so that is has the specified length. More...
 
void store3 (T *storage) const
 Store the tree components to the given memory area. More...
 
T & x ()
 
T x () const
 
T & y ()
 
T y () const
 
T & z ()
 
T z () const
 

Additional Inherited Members

- Public Types inherited from agx::Vec3T< T >
typedef T Type
 
- Static Public Member Functions inherited from agx::Vec3T< T >
static Vec3T AXIS (size_t i)
 
static Vec3T componentMax (const Vec3T &v1, const Vec3T &v2)
 Creates a new vector where each component is the maximum of this and the other vector. More...
 
static Vec3T componentMin (const Vec3T &v1, const Vec3T &v2)
 Creates a new vector where each component is the minimum of this and the other vector. More...
 
static Vec3T div (const Vec3T &lhs, const Vec3T &rhs)
 Element-wise-division. More...
 
static Vec3T mul (const Vec3T &lhs, const Vec3T &rhs)
 Element-wise-multiplication. More...
 
static Vec3T random (T min=T(0), T max=T(1))
 
static Vec3T random (const Vec3T< T > &min, const Vec3T< T > &max)
 
static Vec3T X_AXIS ()
 
static Vec3T Y_AXIS ()
 
static Vec3T Z_AXIS ()
 
- Protected Attributes inherited from agx::Vec3T< T >
T m_data [4]
 

Detailed Description

Tangent.

Definition at line 37 of file Spline.h.

Constructor & Destructor Documentation

◆ Tangent() [1/2]

agxUtil::Spline::Tangent::Tangent ( )
inline

Definition at line 40 of file Spline.h.

◆ Tangent() [2/2]

agxUtil::Spline::Tangent::Tangent ( const agx::Vec3 &  v)
inline

Definition at line 42 of file Spline.h.


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