All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends

fcl::Vec3fX< T > Class Template Reference

Vector3 class wrapper. The core data is in the template parameter class. More...

#include <vec_3f.h>

List of all members.


Public Types

typedef T::meta_type U

Public Member Functions

 Vec3fX ()
 Vec3fX (const Vec3fX &other)
 Vec3fX (U x, U y, U z)
 create Vector (x, y, z)
 Vec3fX (U x)
 create vector (x, x, x)
 Vec3fX (const T &data_)
 create vector using the internal data type
U operator[] (size_t i) const
Uoperator[] (size_t i)
Vec3fX operator+ (const Vec3fX &other) const
Vec3fX operator- (const Vec3fX &other) const
Vec3fX operator * (const Vec3fX &other) const
Vec3fX operator/ (const Vec3fX &other) const
Vec3fXoperator+= (const Vec3fX &other)
Vec3fXoperator-= (const Vec3fX &other)
Vec3fXoperator *= (const Vec3fX &other)
Vec3fXoperator/= (const Vec3fX &other)
Vec3fX operator+ (U t) const
Vec3fX operator- (U t) const
Vec3fX operator * (U t) const
Vec3fX operator/ (U t) const
Vec3fXoperator+= (U t)
Vec3fXoperator-= (U t)
Vec3fXoperator *= (U t)
Vec3fXoperator/= (U t)
Vec3fX operator- () const
Vec3fX cross (const Vec3fX &other) const
U dot (const Vec3fX &other) const
Vec3fXnormalize ()
Vec3fXnormalize (bool *signal)
Vec3fXabs ()
U length () const
U sqrLength () const
void setValue (U x, U y, U z)
void setValue (U x)
bool equal (const Vec3fX &other, U epsilon=std::numeric_limits< U >::epsilon()*100) const
Vec3fX< T > & negate ()
Vec3fX< T > & ubound (const Vec3fX< T > &u)
Vec3fX< T > & lbound (const Vec3fX< T > &l)
bool isZero () const

Public Attributes

data
 interval vector3 data

Detailed Description

template<typename T>
class fcl::Vec3fX< T >

Vector3 class wrapper. The core data is in the template parameter class.

Definition at line 53 of file vec_3f.h.


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