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

Planar transformation represented with a complex number and translation vector. More...

#include <planar.hpp>

Inheritance diagram for amino::CmplxTran:
aa_tf_cv

Public Member Functions

 CmplxTran ()
 Construct the identity transformation.
 
 CmplxTran (aa_tf_cmplx c_, aa_tf_vec2 v_)
 Construct from a C complex number and translation vector.
 
 CmplxTran (Cmplx::type c_, aa_tf_vec2 v_)
 Construct from a C++ complex number and translation vector.
 
 CmplxTran (double angle, aa_tf_vec2 v_)
 Construct from rotation angle and translation vector.
 
 CmplxTran (const AngleP &angle, aa_tf_vec2 v_)
 Construct from rotation angle and translation vector.
 
 CmplxTran (const AngleP *angle, aa_tf_vec2 v_)
 Construct from rotation angle and translation vector.
 
 CmplxTran (const RotMatP &R, aa_tf_vec2 v_)
 Construct from rotation matrix and translation vector.
 
 CmplxTran (const RotMatP *R, aa_tf_vec2 v_)
 Construct from rotation matrix and translation vector.
 
 CmplxTran (const aa_tf_cv &cv)
 Construct from another complex number and translation vector.
 
 CmplxTran (const aa_tf_cv *cv)
 Construct from another complex number and translation vector.
 
 CmplxTran (const struct aa_tf_tfmatp &T)
 Construct from a transformation matrix.
 
 CmplxTran (const struct aa_tf_tfmatp *T)
 Construct from a transformation matrix.
 
aa_tf_cv inv () const
 Return the inverse transformation.
 

Static Public Member Functions

static aa_tf_cv ident ()
 Return the identity transformation.
 
static aa_tf_cv from_cv (const double *ptr)
 Create a transformation from another complex number and translation.
 
static aa_tf_cv from (aa_tf_cmplx c, aa_tf_vec2 v)
 Create a transformation from another complex number and translation.
 
static aa_tf_cv from (Cmplx::type c, aa_tf_vec2 v)
 Create a transformation from another complex number and translation.
 
static aa_tf_cv from_tfmatp (const double *T)
 Create a transformation from a transformation matrix.
 
static aa_tf_cv from (double angle, aa_tf_vec2 v)
 Create a transformation from a rotation angle and translation vector.
 
static aa_tf_cv from (const AngleP &angle, aa_tf_vec2 v)
 Create a transformation from a rotation angle and translation vector.
 
static aa_tf_cv from (const AngleP *angle, aa_tf_vec2 v)
 Create a transformation from a rotation angle and translation vector.
 
static aa_tf_cv from (const aa_tf_cv &cv)
 Create a transformation from another complex number and translation vector.
 
static aa_tf_cv from (const aa_tf_cv *cv)
 Create a transformation from another complex number and translation vector.
 
static aa_tf_cv from (const aa_tf_tfmatp &T)
 Create a transformation from a transformation matrix.
 
static aa_tf_cv from (const aa_tf_tfmatp *T)
 Create a transformation from a transformation matrix.
 
static aa_tf_cv from (const aa_tf_rotmatp *R, aa_tf_vec2 v)
 Create a transformation from a rotation matrix and translation vector.
 
static aa_tf_cv from (const aa_tf_rotmatp &R, aa_tf_vec2 v)
 Create a transformation from a rotation matrix and translation vector.
 

Additional Inherited Members

- Public Attributes inherited from aa_tf_cv
union {
   double   data [4]
 data array
 
   struct {
      aa_tf_cmplx   c
 rotation unit complex
 
      aa_tf_vec2   v
 translation vector
 
   } 
 
}; 
 

Detailed Description

Planar transformation represented with a complex number and translation vector.

Definition at line 327 of file planar.hpp.


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