orocos_kdl
|
#include <frames.hpp>
Public Member Functions | |
double | GetRot () const |
Gets the angle (in radians) More... | |
Rotation2 | Inverse () const |
Vector2 | Inverse (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. More... | |
Vector2 | operator* (const Vector2 &v) const |
Rotation2 & | operator= (const Rotation2 &arg) |
Rotation2 () | |
Default constructor does NOT initialise to Zero(). More... | |
Rotation2 (const Rotation2 &arg) | |
Rotation2 (double angle_rad) | |
Rotation2 (double ca, double sa) | |
void | SetIdentity () |
void | SetInverse () |
void | SetRot (double angle) |
The SetRot.. functions set the value of *this to the appropriate rotation matrix. More... | |
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. More... | |
Private Attributes | |
double | c |
double | s |
Friends | |
bool | Equal (const Rotation2 &a, const Rotation2 &b, double eps) |
Rotation2 | operator* (const Rotation2 &lhs, const Rotation2 &rhs) |
A 2D Rotation class, for conventions see Rotation. For further documentation of the methods see Rotation class.
Definition at line 1051 of file frames.hpp.
|
inline |
Default constructor does NOT initialise to Zero().
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.
Definition at line 1058 of file frames.hpp.
|
inlineexplicit |
Definition at line 1060 of file frames.hpp.
|
inline |
Definition at line 1062 of file frames.hpp.
Definition at line 847 of file frames.inl.
|
inline |
Gets the angle (in radians)
Definition at line 904 of file frames.inl.
Definition at line 886 of file frames.inl.
Definition at line 878 of file frames.inl.
Definition at line 882 of file frames.inl.
|
inline |
Access to elements 0..1,0..1, bounds are checked when NDEBUG is not set.
Definition at line 860 of file frames.inl.
Definition at line 856 of file frames.inl.
Definition at line 851 of file frames.inl.
The Rot... static functions give the value of the appropriate rotation matrix bac.
Definition at line 900 of file frames.inl.
|
inline |
Definition at line 890 of file frames.inl.
|
inline |
Definition at line 874 of file frames.inl.
|
inline |
The SetRot.. functions set the value of *this to the appropriate rotation matrix.
Definition at line 896 of file frames.inl.
do not use operator == because the definition of Equal(.,.) is slightly different. It compares whether the 2 arguments are equal in an eps-interval
|
private |
Definition at line 1053 of file frames.hpp.
|
private |
Definition at line 1053 of file frames.hpp.