|
| | Twist () |
| | The default constructor initialises to Zero via the constructor of Vector.
|
| | Twist (const Vector &_vel, const Vector &_rot) |
| Twist & | operator-= (const Twist &arg) |
| Twist & | operator+= (const Twist &arg) |
| double & | operator() (int i) |
| | index-based access to components, first vel(0..2), then rot(3..5)
|
| double | operator() (int i) const |
| | index-based access to components, first vel(0..2), then rot(3..5) For use with a const Twist
|
| double | operator[] (int index) const |
| double & | operator[] (int index) |
| void | ReverseSign () |
| | Reverses the sign of the twist.
|
| Twist | RefPoint (const Vector &v_base_AB) const |
| | Changes the reference point of the twist. The vector v_base_AB is expressed in the same base as the twist The vector v_base_AB is a vector from the old point to the new point.
|
|
| class | Rotation |
| class | Frame |
| Twist | operator* (const Twist &lhs, double rhs) |
| Twist | operator* (double lhs, const Twist &rhs) |
| Twist | operator/ (const Twist &lhs, double rhs) |
| Twist | operator+ (const Twist &lhs, const Twist &rhs) |
| Twist | operator- (const Twist &lhs, const Twist &rhs) |
| Twist | operator- (const Twist &arg) |
| double | dot (const Twist &lhs, const Wrench &rhs) |
| double | dot (const Wrench &rhs, const Twist &lhs) |
| void | SetToZero (Twist &v) |
| Twist | operator* (const Twist &lhs, const Twist &rhs) |
| | Spatial cross product for 6d motion vectors, beware all of them have to be expressed in the same reference frame/point.
|
| Wrench | operator* (const Twist &lhs, const Wrench &rhs) |
| | Spatial cross product for 6d force vectors, beware all of them have to be expressed in the same reference frame/point.
|
| bool | Equal (const Twist &a, const Twist &b, double eps=epsilon) |
| | do not use operator == because the definition of Equal(.,.) is slightly different. It compares whether the 2 arguments are equal in an eps-interval
|
| bool | operator== (const Twist &a, const Twist &b) |
| | The literal equality operator==(), also identical.
|
| bool | operator!= (const Twist &a, const Twist &b) |
| | The literal inequality operator!=().
|
represents both translational and rotational velocities.
This class represents a twist. A twist is the combination of translational velocity and rotational velocity applied at one point.