Vector3 class wrapper. The core data is in the template parameter class. More...
#include <hpp/fcl/math/vec_3fx.h>
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 |
U & | operator[] (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 |
Vec3fX & | operator+= (const Vec3fX &other) |
Vec3fX & | operator-= (const Vec3fX &other) |
Vec3fX & | operator*= (const Vec3fX &other) |
Vec3fX & | operator/= (const Vec3fX &other) |
Vec3fX | operator+ (U t) const |
Vec3fX | operator- (U t) const |
Vec3fX | operator* (U t) const |
Vec3fX | operator/ (U t) const |
Vec3fX & | operator+= (U t) |
Vec3fX & | operator-= (U t) |
Vec3fX & | operator*= (U t) |
Vec3fX & | operator/= (U t) |
Vec3fX | operator- () const |
Vec3fX | cross (const Vec3fX &other) const |
U | dot (const Vec3fX &other) const |
Vec3fX & | normalize () |
Vec3fX & | normalize (bool *signal) |
Vec3fX & | abs () |
U | length () const |
U | norm () const |
U | sqrLength () const |
U | squaredNorm () const |
void | setValue (U x, U y, U z) |
void | setValue (U x) |
void | setZero () |
bool | equal (const Vec3fX &other, U epsilon=std::numeric_limits< U >::epsilon()*100) const |
Vec3fX< T > & | negate () |
bool | operator== (const Vec3fX &other) const |
bool | operator!= (const Vec3fX &other) const |
Vec3fX< T > & | ubound (const Vec3fX< T > &u) |
Vec3fX< T > & | lbound (const Vec3fX< T > &l) |
bool | isZero () const |
Public Attributes | |
T | data |
interval vector3 data |
Vector3 class wrapper. The core data is in the template parameter class.
typedef T::meta_type fcl::Vec3fX< T >::U |
fcl::Vec3fX< T >::Vec3fX | ( | ) | [inline] |
Referenced by fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::cross(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator*(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator+(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator-(), and fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator/().
fcl::Vec3fX< T >::Vec3fX | ( | const Vec3fX< T > & | other | ) | [inline] |
fcl::Vec3fX< T >::Vec3fX | ( | U | x, |
U | y, | ||
U | z | ||
) | [inline] |
create Vector (x, y, z)
fcl::Vec3fX< T >::Vec3fX | ( | U | x | ) | [inline] |
create vector (x, x, x)
fcl::Vec3fX< T >::Vec3fX | ( | const T & | data_ | ) | [inline] |
create vector using the internal data type
Vec3fX& fcl::Vec3fX< T >::abs | ( | ) | [inline] |
Referenced by fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::abs().
Vec3fX fcl::Vec3fX< T >::cross | ( | const Vec3fX< T > & | other | ) | const [inline] |
U fcl::Vec3fX< T >::dot | ( | const Vec3fX< T > & | other | ) | const [inline] |
bool fcl::Vec3fX< T >::equal | ( | const Vec3fX< T > & | other, |
U | epsilon = std::numeric_limits<U>::epsilon() * 100 |
||
) | const [inline] |
bool fcl::Vec3fX< T >::isZero | ( | ) | const [inline] |
Referenced by fcl::Transform3f::isIdentity().
Vec3fX<T>& fcl::Vec3fX< T >::lbound | ( | const Vec3fX< T > & | l | ) | [inline] |
Referenced by fcl::AABB::operator+=().
U fcl::Vec3fX< T >::length | ( | ) | const [inline] |
Referenced by fcl::ScrewMotion::computeScrewParameter(), and fcl::SplineMotion::getTaylorModel().
Vec3fX<T>& fcl::Vec3fX< T >::negate | ( | ) | [inline] |
U fcl::Vec3fX< T >::norm | ( | ) | const [inline] |
Vec3fX& fcl::Vec3fX< T >::normalize | ( | ) | [inline] |
Referenced by fcl::MeshConservativeAdvancementTraversalNode< OBBRSS >::canStop(), fcl::MeshShapeConservativeAdvancementTraversalNode< OBBRSS, S, NarrowPhaseSolver >::canStop(), fcl::ShapeMeshConservativeAdvancementTraversalNode< S, OBBRSS, NarrowPhaseSolver >::canStop(), fcl::ShapeConservativeAdvancementTraversalNode< S1, S2, NarrowPhaseSolver >::leafTesting(), fcl::MeshConservativeAdvancementTraversalNode< OBBRSS >::leafTesting(), fcl::MeshShapeConservativeAdvancementTraversalNode< OBBRSS, S, NarrowPhaseSolver >::leafTesting(), fcl::ShapeMeshConservativeAdvancementTraversalNode< S, OBBRSS, NarrowPhaseSolver >::leafTesting(), fcl::details::meshConservativeAdvancementTraversalNodeCanStop(), fcl::details::meshShapeConservativeAdvancementOrientedNodeCanStop(), and fcl::details::meshShapeConservativeAdvancementOrientedNodeLeafTesting().
Vec3fX& fcl::Vec3fX< T >::normalize | ( | bool * | signal | ) | [inline] |
bool fcl::Vec3fX< T >::operator!= | ( | const Vec3fX< T > & | other | ) | const [inline] |
Vec3fX fcl::Vec3fX< T >::operator* | ( | const Vec3fX< T > & | other | ) | const [inline] |
Vec3fX fcl::Vec3fX< T >::operator* | ( | U | t | ) | const [inline] |
Vec3fX& fcl::Vec3fX< T >::operator*= | ( | const Vec3fX< T > & | other | ) | [inline] |
Vec3fX& fcl::Vec3fX< T >::operator*= | ( | U | t | ) | [inline] |
Vec3fX fcl::Vec3fX< T >::operator+ | ( | const Vec3fX< T > & | other | ) | const [inline] |
Vec3fX fcl::Vec3fX< T >::operator+ | ( | U | t | ) | const [inline] |
Vec3fX& fcl::Vec3fX< T >::operator+= | ( | const Vec3fX< T > & | other | ) | [inline] |
Vec3fX& fcl::Vec3fX< T >::operator+= | ( | U | t | ) | [inline] |
Vec3fX fcl::Vec3fX< T >::operator- | ( | const Vec3fX< T > & | other | ) | const [inline] |
Vec3fX fcl::Vec3fX< T >::operator- | ( | U | t | ) | const [inline] |
Vec3fX fcl::Vec3fX< T >::operator- | ( | ) | const [inline] |
Vec3fX& fcl::Vec3fX< T >::operator-= | ( | const Vec3fX< T > & | other | ) | [inline] |
Vec3fX& fcl::Vec3fX< T >::operator-= | ( | U | t | ) | [inline] |
Vec3fX fcl::Vec3fX< T >::operator/ | ( | const Vec3fX< T > & | other | ) | const [inline] |
Vec3fX fcl::Vec3fX< T >::operator/ | ( | U | t | ) | const [inline] |
Vec3fX& fcl::Vec3fX< T >::operator/= | ( | const Vec3fX< T > & | other | ) | [inline] |
Vec3fX& fcl::Vec3fX< T >::operator/= | ( | U | t | ) | [inline] |
bool fcl::Vec3fX< T >::operator== | ( | const Vec3fX< T > & | other | ) | const [inline] |
U fcl::Vec3fX< T >::operator[] | ( | size_t | i | ) | const [inline] |
U& fcl::Vec3fX< T >::operator[] | ( | size_t | i | ) | [inline] |
void fcl::Vec3fX< T >::setValue | ( | U | x, |
U | y, | ||
U | z | ||
) | [inline] |
Referenced by fcl::eigen(), fcl::ScrewMotion::ScrewMotion(), and fcl::Transform3f::setIdentity().
void fcl::Vec3fX< T >::setValue | ( | U | x | ) | [inline] |
void fcl::Vec3fX< T >::setZero | ( | ) | [inline] |
U fcl::Vec3fX< T >::sqrLength | ( | ) | const [inline] |
Referenced by fcl::OBB::size().
U fcl::Vec3fX< T >::squaredNorm | ( | ) | const [inline] |
Vec3fX<T>& fcl::Vec3fX< T >::ubound | ( | const Vec3fX< T > & | u | ) | [inline] |
Referenced by fcl::AABB::operator+=().
T fcl::Vec3fX< T >::data |
interval vector3 data
Referenced by fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::abs(), fcl::abs(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::cross(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::dot(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::dot(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::dotX(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::dotY(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::dotZ(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::equal(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::isZero(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::lbound(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::length(), fcl::max(), fcl::min(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::negate(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::norm(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::normalize(), fcl::normalize(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator*(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::operator*(), fcl::operator*(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator*=(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator+(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator+=(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator-(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator-=(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator/(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator/=(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::operator[](), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::setValue(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::setZero(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::sqrLength(), fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::squaredNorm(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::transposeDot(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::transposeDotX(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::transposeDotY(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::transposeDotZ(), fcl::Matrix3fX< details::Matrix3Data< FCL_REAL > >::transposeTimes(), and fcl::Vec3fX< details::Vec3Data< FCL_REAL > >::ubound().