PxTransformT#
Defined in include/foundation/PxTransform.h
-
template<class Type>
class PxTransformT# class representing a rigid euclidean transform as a quaternion and a vector
Public Functions
-
inline PxTransformT()#
-
inline explicit PxTransformT(PxIDENTITY)#
-
inline PxTransformT(const PxTransformT &other)#
-
inline void operator=(const PxTransformT &other)#
-
inline bool operator==(const PxTransformT &t) const#
returns true if the two transforms are exactly equal
-
inline PxTransformT operator*(const PxTransformT &x) const#
-
inline PxTransformT &operator*=(const PxTransformT &other)#
Equals matrix multiplication.
-
inline PxTransformT getInverse() const#
-
inline PxTransformT getNormalized() const#
return a normalized transform (i.e.
one in which the quaternion has unit magnitude)
-
inline PxTransformT transform(const PxTransformT &src) const#
Transform transform to parent (returns compound transform: first src, then *this)
-
inline PxTransformT transformInv(const PxTransformT &src) const#
Transform transform from parent (returns compound transform: first src, then this->inverse)
-
inline bool isValid() const#
returns true if finite and q is a unit quaternion
-
inline bool isSane() const#
returns true if finite and quat magnitude is reasonably close to unit to allow for some accumulation of error vs isValid
-
inline bool isFinite() const#
returns true if all elems are finite (not NAN or INF, etc.)
-
inline PxTransformT()#