#include <RigidTypes.h>

Public Types | |
| enum | { static_size = 2 } |
| typedef real | value_type |
| typedef real | Real |
| typedef Vec< 2, Real > | Vec2 |
Public Member Functions | |
| RigidDeriv (const Vec2 &velCenter, const Real &velOrient) | |
| RigidDeriv () | |
| void | clear () |
| void | operator+= (const RigidDeriv< 2, real > &a) |
| RigidDeriv< 2, real > | operator+ (const RigidDeriv< 2, real > &a) const |
| template<typename real2 > | |
| void | operator*= (real2 a) |
| RigidDeriv< 2, real > | operator* (float a) const |
| RigidDeriv< 2, real > | operator* (double a) const |
| RigidDeriv< 2, real > | operator- () const |
| Real | operator* (const RigidDeriv< 2, real > &a) const |
| dot product, mostly used to compute residuals as sqrt(x*x) | |
| Vec2 & | getVCenter (void) |
| Real & | getVOrientation (void) |
| const Vec2 & | getVCenter (void) const |
| const Real & | getVOrientation (void) const |
| real * | ptr () |
| const real * | ptr () const |
| real & | operator[] (int i) |
| Access to i-th element. | |
| const real & | operator[] (int i) const |
| Const access to i-th element. | |
Static Public Member Functions | |
| static unsigned int | size () |
Private Attributes | |
| Vec2 | vCenter |
| Real | vOrientation |
Friends | |
| class | RigidCoord< 2, real > |
| std::ostream & | operator<< (std::ostream &out, const RigidDeriv< 2, real > &v) |
| write to an output stream | |
| std::istream & | operator>> (std::istream &in, RigidDeriv< 2, real > &v) |
| read from an input stream | |
Definition at line 674 of file RigidTypes.h.
| typedef real sofa::defaulttype::RigidDeriv< 2, real >::Real |
Definition at line 678 of file RigidTypes.h.
| typedef real sofa::defaulttype::RigidDeriv< 2, real >::value_type |
Definition at line 677 of file RigidTypes.h.
Definition at line 679 of file RigidTypes.h.
| anonymous enum |
| sofa::defaulttype::RigidDeriv< 2, real >::RigidDeriv | ( | const Vec2 & | velCenter, | |
| const Real & | velOrient | |||
| ) | [inline] |
Definition at line 686 of file RigidTypes.h.
| sofa::defaulttype::RigidDeriv< 2, real >::RigidDeriv | ( | ) | [inline] |
| void sofa::defaulttype::RigidDeriv< 2, real >::clear | ( | ) | [inline] |
Definition at line 690 of file RigidTypes.h.
| const Vec2& sofa::defaulttype::RigidDeriv< 2, real >::getVCenter | ( | void | ) | const [inline] |
Definition at line 741 of file RigidTypes.h.
| Vec2& sofa::defaulttype::RigidDeriv< 2, real >::getVCenter | ( | void | ) | [inline] |
Definition at line 739 of file RigidTypes.h.
Referenced by sofa::defaulttype::RigidCoord< 2, real >::operator+(), and sofa::defaulttype::RigidCoord< 2, real >::operator+=().
| const Real& sofa::defaulttype::RigidDeriv< 2, real >::getVOrientation | ( | void | ) | const [inline] |
Definition at line 742 of file RigidTypes.h.
| Real& sofa::defaulttype::RigidDeriv< 2, real >::getVOrientation | ( | void | ) | [inline] |
Definition at line 740 of file RigidTypes.h.
Referenced by sofa::defaulttype::RigidCoord< 2, real >::operator+(), and sofa::defaulttype::RigidCoord< 2, real >::operator+=().
| Real sofa::defaulttype::RigidDeriv< 2, real >::operator* | ( | const RigidDeriv< 2, real > & | a | ) | const [inline] |
dot product, mostly used to compute residuals as sqrt(x*x)
Definition at line 733 of file RigidTypes.h.
References vCenter, and vOrientation.
| RigidDeriv<2,real> sofa::defaulttype::RigidDeriv< 2, real >::operator* | ( | double | a | ) | const [inline] |
Definition at line 720 of file RigidTypes.h.
| RigidDeriv<2,real> sofa::defaulttype::RigidDeriv< 2, real >::operator* | ( | float | a | ) | const [inline] |
Definition at line 713 of file RigidTypes.h.
| void sofa::defaulttype::RigidDeriv< 2, real >::operator*= | ( | real2 | a | ) | [inline] |
Definition at line 707 of file RigidTypes.h.
| RigidDeriv<2,real> sofa::defaulttype::RigidDeriv< 2, real >::operator+ | ( | const RigidDeriv< 2, real > & | a | ) | const [inline] |
| void sofa::defaulttype::RigidDeriv< 2, real >::operator+= | ( | const RigidDeriv< 2, real > & | a | ) | [inline] |
| RigidDeriv<2,real> sofa::defaulttype::RigidDeriv< 2, real >::operator- | ( | ) | const [inline] |
Definition at line 727 of file RigidTypes.h.
| const real& sofa::defaulttype::RigidDeriv< 2, real >::operator[] | ( | int | i | ) | const [inline] |
| real& sofa::defaulttype::RigidDeriv< 2, real >::operator[] | ( | int | i | ) | [inline] |
| const real* sofa::defaulttype::RigidDeriv< 2, real >::ptr | ( | ) | const [inline] |
Definition at line 759 of file RigidTypes.h.
| real* sofa::defaulttype::RigidDeriv< 2, real >::ptr | ( | ) | [inline] |
Definition at line 758 of file RigidTypes.h.
| static unsigned int sofa::defaulttype::RigidDeriv< 2, real >::size | ( | void | ) | [inline, static] |
Definition at line 761 of file RigidTypes.h.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const RigidDeriv< 2, real > & | v | |||
| ) | [friend] |
| std::istream& operator>> | ( | std::istream & | in, | |
| RigidDeriv< 2, real > & | v | |||
| ) | [friend] |
friend class RigidCoord< 2, real > [friend] |
Definition at line 684 of file RigidTypes.h.
Definition at line 681 of file RigidTypes.h.
Referenced by operator*(), operator+(), and operator+=().
Real sofa::defaulttype::RigidDeriv< 2, real >::vOrientation [private] |
Definition at line 682 of file RigidTypes.h.
Referenced by operator*(), operator+(), and operator+=().
1.5.7.1