|
| | CustomMatrix2 () |
| |
| | CustomMatrix2 (numeric lambda1, numeric lambda2) |
| |
| | CustomMatrix2 (numeric _11, numeric _12, numeric _21, numeric _22) |
| |
| numeric | getA11 () const |
| |
| numeric | getA12 () const |
| |
| numeric | getA21 () const |
| |
| numeric | getA22 () const |
| |
| CustomPoint< numeric > | operator() (numeric x, numeric y) const |
| | Computes the corresponding transformed point of the point (x,y) More...
|
| |
| CustomPoint< numeric > | operator() (int x, int y) const |
| | Integer overloading of (x,y) operator to avoid warnings. More...
|
| |
| CustomPoint< numeric > | operator() (const CustomPoint< numeric > &point) const |
| | Computes transformed point of a given one. More...
|
| |
| CustomMatrix2 | operator* (const CustomMatrix2 &matrix) const |
| | Multiplies two matrices. More...
|
| |
| CustomPoint< numeric > | operator* (const CustomPoint< numeric > &point) const |
| | Multiplies matrix by a vector. More...
|
| |
| CustomMatrix2 | operator* (const numeric factor) const |
| | Multiplies matrix by a scalar. More...
|
| |
| void | scale (numeric factor) |
| |
| void | scale (numeric x, numeric y) |
| |
| void | prescale (numeric x, numeric y) |
| |
| void | rotateRadians (float angle) |
| |
| void | rotateDegrees (float angle) |
| |
| void | skewRadians (float x, float y) |
| |
| void | skewDegrees (float x, float y) |
| |
| numeric | det () const |
| | Transformation determinant. More...
|
| |
| bool | isInvertible () const |
| |
| CustomMatrix2 | getInverse () const |
| | Computes inverse transformation. More...
|
| |
| CustomPoint< numeric > | getInverse (numeric x, numeric y) const |
| | Computes inverse of a given point. More...
|
| |
| CustomPoint< numeric > | getInverse (const CustomPoint< numeric > &point) const |
| | Computes inverse of a given point. More...
|
| |
| CustomMatrix2 | getTransposed () const |
| |
| void | rescaleUnits (numeric xIn, numeric yIn, numeric xOut, numeric yOut) |
| | Scales transformation input and output units If input/output axes change their scales, the transformation may be rescaled to keep the correspondence between the same points as before but in newly scaled coordinates. More...
|
| |
| template<typename num > |
| bool | isPointInsideBox (num x, num y, CustomRectangle< num > box) const |
| | Checks whether a given input point is inside a rectangular area when transformed. More...
|
| |
| bool | isPointInsideAxes (numeric x, numeric y, numeric w, numeric h) const |
| | Checks whether a given input point is inside the unit square when transformed. More...
|
| |
| bool | isPointInsideAxes (numeric x, numeric y) const |
| |
| numeric | getScalingX () |
| | Computes X axis scaling factor. More...
|
| |
| numeric | getScalingY () |
| | Computes Y axis scaling factor. More...
|
| |
| float | getOrientationDegrees () |
| | Returns first axis orientation in degrees. More...
|
| |
| void | getElements (float &a11, float &a12, float &a21, float &a22) const |
| | Retrieves matrix element values. More...
|
| |
| void | setElements (float a11, float a12, float a21, float a22) |
| | Sets matrix element values. More...
|
| |
template<typename numeric>
class Beatmup::CustomMatrix2< numeric >
2D affine transformation.
Defines operators to transform 2D points and a set of useful utilities to work with affine mappings
Definition at line 329 of file geometry.h.