amino  1.0-beta2
Lightweight Robot Utility Library
amino::RotMatP Struct Reference

A planar rotation matrix. More...

#include <planar.hpp>

Inheritance diagram for amino::RotMatP:
aa_tf_rotmatp

Public Member Functions

 RotMatP ()
 Construct the identity rotation.
 
 RotMatP (const aa_tf_rotmatp &R)
 Construct from another rotation matrix.
 
 RotMatP (const aa_tf_rotmatp *R)
 Construct from another rotation matrix.
 
 RotMatP (double r11, double r12, double r21, double r22)
 Construct from another rotation matrix.
 
 RotMatP (Cmplx::type c)
 Construct from a C++ complex number.
 
 RotMatP (aa_tf_cmplx c)
 Construct from a C complex number.
 
 RotMatP (double angle)
 Construct from a rotation angle.
 
 RotMatP (const AngleP &angle)
 Construct from a rotation angle.
 
 RotMatP (const AngleP *angle)
 Construct from a rotation angle.
 
double angle () const
 Return the rotation angle.
 
double uln () const
 Return the logarithm of the rotation matrix.
 
aa_tf_rotmatp inv () const
 Return the inverse of the rotation matrix.
 

Static Public Member Functions

static aa_tf_rotmatp from_angle (double theta)
 Create a rotation matrix from a rotation angle.
 
static aa_tf_rotmatp from_rotmatp (double r11, double r12, double r21, double r22)
 Create a rotation matrix from elements.
 
static aa_tf_rotmatp from_rotmatp (const double *R)
 Create a rotation matrix from another rotation matrix.
 
static aa_tf_rotmatp from_cmplx (aa_tf_cmplx c)
 Create a rotation matrix from a complex number.
 
static aa_tf_rotmatp from_cmplx (Cmplx::type c)
 Create a rotation matrix from a complex number.
 
static aa_tf_rotmatp from (aa_tf_cmplx c)
 Create a rotation matrix from a complex number.
 
static aa_tf_rotmatp from (Cmplx::type c)
 Create a rotation matrix from a complex number.
 
static aa_tf_rotmatp from (double angle)
 Create a rotation matrix from a rotation angle.
 
static aa_tf_rotmatp from (const AngleP &angle)
 Create a rotation matrix from a rotation angle.
 
static aa_tf_rotmatp from (const AngleP *angle)
 Create a rotation matrix from a rotation angle.
 
static aa_tf_rotmatp ident ()
 Create the identity rotation matrix.
 

Additional Inherited Members

- Public Attributes inherited from aa_tf_rotmatp
union {
   struct {
      aa_tf_vec2   col0
 column 0
 
      aa_tf_vec2   col1
 column 1
 
   } 
 
   double   data [4]
 data array
 
}; 
 

Detailed Description

A planar rotation matrix.

Column-major order.

Definition at line 228 of file planar.hpp.


The documentation for this struct was generated from the following file: