A 2D Rotation class, for conventions see Rotation.
More...
#include <src/frames.hpp>
|
static Rotation2 | Identity () |
|
static Rotation2 | Rot (double angle) |
| The Rot... static functions give the value of the appropriate rotation matrix bac.
|
|
A 2D Rotation class, for conventions see Rotation.
For further documentation of the methods see Rotation class.
◆ Rotation2() [1/4]
KDL::Rotation2::Rotation2 |
( |
| ) |
|
|
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().
References c, and s.
Referenced by Identity(), Inverse(), and Rot().
◆ Rotation2() [2/4]
KDL::Rotation2::Rotation2 |
( |
double |
angle_rad | ) |
|
|
inlineexplicit |
◆ Rotation2() [3/4]
KDL::Rotation2::Rotation2 |
( |
double |
ca, |
|
|
double |
sa |
|
) |
| |
|
inline |
◆ Rotation2() [4/4]
IMETHOD Rotation2::Rotation2 |
( |
const Rotation2 & |
arg | ) |
|
◆ GetRot()
IMETHOD double Rotation2::GetRot |
( |
| ) |
const |
|
inline |
◆ Identity()
◆ Inverse() [1/2]
IMETHOD Rotation2 Rotation2::Inverse |
( |
| ) |
const |
|
inline |
◆ Inverse() [2/2]
◆ operator()()
IMETHOD double Rotation2::operator() |
( |
int |
i, |
|
|
int |
j |
|
) |
| const |
|
inline |
Access to elements 0..1,0..1, bounds are checked when NDEBUG is not set.
References c, and s.
◆ operator*()
◆ operator=()
◆ Rot()
IMETHOD Rotation2 Rotation2::Rot |
( |
double |
angle | ) |
|
|
inlinestatic |
◆ SetIdentity()
IMETHOD void Rotation2::SetIdentity |
( |
| ) |
|
|
inline |
◆ SetInverse()
IMETHOD void Rotation2::SetInverse |
( |
| ) |
|
|
inline |
◆ SetRot()
IMETHOD void Rotation2::SetRot |
( |
double |
angle | ) |
|
|
inline |
The SetRot.. functions set the value of *this to the appropriate rotation matrix.
References c, and s.
◆ Equal
do not use operator == because the definition of Equal(.,.) is slightly different.
It compares whether the 2 arguments are equal in an eps-interval
◆ operator*
Referenced by GetRot(), Inverse(), Inverse(), operator()(), operator*(), operator=(), Rotation2(), Rotation2(), SetIdentity(), SetInverse(), and SetRot().
The documentation for this class was generated from the following files: