|
Blender V5.0
|
A 2D Rotation class, for conventions see Rotation. For further documentation of the methods see Rotation class. More...
#include <frames.hpp>
Public Member Functions | |
| Rotation2 () | |
| c,s represent cos(angle), sin(angle), this also represents first col. of rot matrix from outside, this class behaves as if it would store the complete 2x2 matrix. | |
| Rotation2 (double angle_rad) | |
| Rotation2 (double ca, double sa) | |
| Rotation2 & | operator= (const Rotation2 &arg) |
| Vector2 | operator* (const Vector2 &v) const |
| double | operator() (int i, int j) const |
| Access to elements 0..1,0..1, bounds are checked when NDEBUG is not set. | |
| void | SetInverse () |
| Rotation2 | Inverse () const |
| Vector2 | Inverse (const Vector2 &v) const |
| void | SetIdentity () |
| void | SetRot (double angle) |
| The SetRot.. functions set the value of *this to the appropriate rotation matrix. | |
| double | GetRot () const |
| Gets the angle (in radians). | |
Static Public Member Functions | |
| static Rotation2 | Identity () |
| static Rotation2 | Rot (double angle) |
| The Rot... static functions give the value of the appropriate rotation matrix bac. | |
Friends | |
| Rotation2 | operator* (const Rotation2 &lhs, const Rotation2 &rhs) |
| bool | Equal (const Rotation2 &a, const Rotation2 &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 | |
A 2D Rotation class, for conventions see Rotation. For further documentation of the methods see Rotation class.
Definition at line 989 of file frames.hpp.
|
inline |
c,s represent cos(angle), sin(angle), this also represents first col. of rot matrix from outside, this class behaves as if it would store the complete 2x2 matrix.
Default constructor does NOT initialise to Zero().
Definition at line 996 of file frames.hpp.
|
inlineexplicit |
Definition at line 998 of file frames.hpp.
References KDL::cos(), and KDL::sin().
|
inline |
Definition at line 1000 of file frames.hpp.
|
inline |
Definition at line 923 of file frames.hpp.
Definition at line 915 of file frames.hpp.
References iTaSC::Vector2::Vector2().
Definition at line 919 of file frames.hpp.
|
inline |
Access to elements 0..1,0..1, bounds are checked when NDEBUG is not set.
Definition at line 897 of file frames.hpp.
Definition at line 893 of file frames.hpp.
Definition at line 888 of file frames.hpp.
The Rot... static functions give the value of the appropriate rotation matrix bac.
Definition at line 937 of file frames.hpp.
Referenced by KDL::operator>>().
|
inline |
Definition at line 927 of file frames.hpp.
|
inline |
Definition at line 911 of file frames.hpp.
|
inline |
The SetRot.. functions set the value of *this to the appropriate rotation matrix.
Definition at line 933 of file frames.hpp.
References xy.
do not use operator == because the definition of Equal(.,.) is slightly different. It compares whether the 2 arguments are equal in an eps-interval
Definition at line 1096 of file frames.hpp.
Definition at line 907 of file frames.hpp.