GT RoboCup SSL
Soccer software, robot firmware
Geometry2d::TransformMatrix Class Reference

Public Member Functions

 TransformMatrix (float a, float b, float c, float d, float e, float f)
 
 TransformMatrix (Geometry2d::Point origin, float rotation=0, bool mirror=false, float scale=1)
 
 TransformMatrix (const Eigen::Matrix< double, 3, 3 > &other)
 
TransformMatrix operator* (const TransformMatrix &other) const
 
TransformMatrixoperator*= (const TransformMatrix &other)
 
 operator Eigen::Matrix< double, 3, 3 > () const
 
Point operator* (const Point &pt) const
 
Point transformDirection (const Point &dir) const
 
float transformAngle (float angle) const
 
Point x () const
 
Point y () const
 
Point origin () const
 
float xScale () const
 
float yScale () const
 
float rotation () const
 
bool mirrored () const
 
const float * m () const
 

Static Public Member Functions

static TransformMatrix translate (const Point &delta)
 
static TransformMatrix translate (float x, float y)
 
static TransformMatrix rotate (float angle)
 
static TransformMatrix scale (float s)
 
static TransformMatrix scale (float x, float y)
 
static TransformMatrix rotateAroundPoint (const Point &center, float angle)
 
static TransformMatrix mirrorAroundPoint (const Point &center)
 

Static Public Attributes

static const TransformMatrix identity
 
static const TransformMatrix mirrorX
 

Protected Attributes

float _m [6]
 
+ Collaboration diagram for Geometry2d::TransformMatrix:

The documentation for this class was generated from the following files: