libmspub::VectorTransformation2D Class Reference

#include <VectorTransformation2D.h>

List of all members.

Public Member Functions

 VectorTransformation2D ()
Vector2D transform (Vector2D original) const
Vector2D transformWithOrigin (Vector2D v, Vector2D origin) const
double getRotation () const
double getHorizontalScaling () const
double getVerticalScaling () const
bool orientationReversing () const

Static Public Member Functions

static VectorTransformation2D fromFlips (bool flipH, bool flipV)
static VectorTransformation2D fromTranslate (double x, double y)
static VectorTransformation2D fromCounterRadians (double theta)

Private Attributes

double m_m11
double m_m12
double m_m21
double m_m22
double m_x
double m_y

Friends

VectorTransformation2D operator* (const VectorTransformation2D &l, const VectorTransformation2D &r)

Constructor & Destructor Documentation


Member Function Documentation


Friends And Related Function Documentation

VectorTransformation2D operator* ( const VectorTransformation2D l,
const VectorTransformation2D r 
) [friend]

Member Data Documentation


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