All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
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

Vec3fXabs ()
Vec3fX cross (const Vec3fX &other) const
U dot (const Vec3fX &other) const
bool equal (const Vec3fX &other, U epsilon=std::numeric_limits< U >::epsilon()*100) const
bool isZero () const
Vec3fX< T > & lbound (const Vec3fX< T > &l)
U length () const
Vec3fX< T > & negate ()
Vec3fXnormalize ()
Vec3fXnormalize (bool *signal)
Vec3fX operator* (const Vec3fX &other) const
Vec3fX operator* (U t) const
Vec3fXoperator*= (const Vec3fX &other)
Vec3fXoperator*= (U t)
Vec3fX operator+ (const Vec3fX &other) const
Vec3fX operator+ (U t) const
Vec3fXoperator+= (const Vec3fX &other)
Vec3fXoperator+= (U t)
Vec3fX operator- (const Vec3fX &other) const
Vec3fX operator- (U t) const
Vec3fX operator- () const
Vec3fXoperator-= (const Vec3fX &other)
Vec3fXoperator-= (U t)
Vec3fX operator/ (const Vec3fX &other) const
Vec3fX operator/ (U t) const
Vec3fXoperator/= (const Vec3fX &other)
Vec3fXoperator/= (U t)
U operator[] (size_t i) const
Uoperator[] (size_t i)
void setValue (U x, U y, U z)
void setValue (U x)
U sqrLength () const
Vec3fX< T > & ubound (const Vec3fX< T > &u)
 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

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 58 of file vec_3f.h.


Member Typedef Documentation

template<typename T>
typedef T::meta_type fcl::Vec3fX< T >::U

Definition at line 61 of file vec_3f.h.


Constructor & Destructor Documentation

template<typename T>
fcl::Vec3fX< T >::Vec3fX ( ) [inline]

Definition at line 66 of file vec_3f.h.

template<typename T>
fcl::Vec3fX< T >::Vec3fX ( const Vec3fX< T > &  other) [inline]

Definition at line 67 of file vec_3f.h.

template<typename T>
fcl::Vec3fX< T >::Vec3fX ( U  x,
U  y,
U  z 
) [inline]

create Vector (x, y, z)

Definition at line 70 of file vec_3f.h.

template<typename T>
fcl::Vec3fX< T >::Vec3fX ( U  x) [inline]

create vector (x, x, x)

Definition at line 73 of file vec_3f.h.

template<typename T>
fcl::Vec3fX< T >::Vec3fX ( const T &  data_) [inline]

create vector using the internal data type

Definition at line 76 of file vec_3f.h.


Member Function Documentation

template<typename T>
Vec3fX& fcl::Vec3fX< T >::abs ( ) [inline]

Definition at line 121 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::cross ( const Vec3fX< T > &  other) const [inline]

Definition at line 98 of file vec_3f.h.

template<typename T>
U fcl::Vec3fX< T >::dot ( const Vec3fX< T > &  other) const [inline]

Definition at line 99 of file vec_3f.h.

template<typename T>
bool fcl::Vec3fX< T >::equal ( const Vec3fX< T > &  other,
U  epsilon = std::numeric_limits<U>::epsilon() * 100 
) const [inline]

Definition at line 131 of file vec_3f.h.

template<typename T>
bool fcl::Vec3fX< T >::isZero ( ) const [inline]

Definition at line 146 of file vec_3f.h.

template<typename T>
Vec3fX<T>& fcl::Vec3fX< T >::lbound ( const Vec3fX< T > &  l) [inline]

Definition at line 140 of file vec_3f.h.

template<typename T>
U fcl::Vec3fX< T >::length ( ) const [inline]

Definition at line 127 of file vec_3f.h.

template<typename T>
Vec3fX<T>& fcl::Vec3fX< T >::negate ( ) [inline]

Definition at line 132 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::normalize ( ) [inline]

Definition at line 100 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::normalize ( bool *  signal) [inline]

Definition at line 108 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator* ( const Vec3fX< T > &  other) const [inline]

Definition at line 83 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator* ( U  t) const [inline]

Definition at line 91 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::operator*= ( const Vec3fX< T > &  other) [inline]

Definition at line 87 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::operator*= ( U  t) [inline]

Definition at line 95 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator+ ( const Vec3fX< T > &  other) const [inline]

Definition at line 81 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator+ ( U  t) const [inline]

Definition at line 89 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::operator+= ( const Vec3fX< T > &  other) [inline]

Definition at line 85 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::operator+= ( U  t) [inline]

Definition at line 93 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator- ( const Vec3fX< T > &  other) const [inline]

Definition at line 82 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator- ( U  t) const [inline]

Definition at line 90 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator- ( ) const [inline]

Definition at line 97 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::operator-= ( const Vec3fX< T > &  other) [inline]

Definition at line 86 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::operator-= ( U  t) [inline]

Definition at line 94 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator/ ( const Vec3fX< T > &  other) const [inline]

Definition at line 84 of file vec_3f.h.

template<typename T>
Vec3fX fcl::Vec3fX< T >::operator/ ( U  t) const [inline]

Definition at line 92 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::operator/= ( const Vec3fX< T > &  other) [inline]

Definition at line 88 of file vec_3f.h.

template<typename T>
Vec3fX& fcl::Vec3fX< T >::operator/= ( U  t) [inline]

Definition at line 96 of file vec_3f.h.

template<typename T>
U fcl::Vec3fX< T >::operator[] ( size_t  i) const [inline]

Definition at line 78 of file vec_3f.h.

template<typename T>
U& fcl::Vec3fX< T >::operator[] ( size_t  i) [inline]

Definition at line 79 of file vec_3f.h.

template<typename T>
void fcl::Vec3fX< T >::setValue ( U  x,
U  y,
U  z 
) [inline]

Definition at line 129 of file vec_3f.h.

template<typename T>
void fcl::Vec3fX< T >::setValue ( U  x) [inline]

Definition at line 130 of file vec_3f.h.

template<typename T>
U fcl::Vec3fX< T >::sqrLength ( ) const [inline]

Definition at line 128 of file vec_3f.h.

template<typename T>
Vec3fX<T>& fcl::Vec3fX< T >::ubound ( const Vec3fX< T > &  u) [inline]

Definition at line 134 of file vec_3f.h.


Member Data Documentation

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

interval vector3 data

Definition at line 64 of file vec_3f.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:32