An affine transformation. This class encodes an affine transformation. It has been designed with the aim of making the calculation of the inverse transformation particularly efficient.
More...
|
| Transformation () |
| Constructor, without any parameter.
|
|
| Transformation (float a, float b, float c, float d, float e, float f, float g, float h, float i, float l, float s, float n, float o, float p, float q, float r) |
|
| Transformation (Matrix4x4 a, Matrix4x4 inva) |
|
| Transformation (Matrix4x4 a) |
|
bool | IsConsistent () |
| Check the internal consistency of the transformation.
|
|
Transformation | Inverse () |
| Returns a struct Transformation object representing the inverse affine transformation.
|
|
|
static bool | are_close (Matrix4x4 a, Matrix4x4 b) |
| Check wheather two matrices are equals. More...
|
|
static bool | are_close (Transformation a, Transformation b) |
| Check whether two Transformations are equals. More...
|
|
static Transformation | operator* (Transformation a, Transformation b) |
| Product Transformation-Transformation, returns a Transformation.dot More...
|
|
static Point | operator* (Transformation a, Point p) |
| Product Transformation-Point, returns a Point. More...
|
|
static Vec | operator* (Transformation a, Vec v) |
| Product Transformation-Vec, returns a Vec. More...
|
|
static Normal | operator* (Transformation a, Normal n) |
| Product Transformation-Normal, returns a Normal. More...
|
|
static Transformation | Translation (Vec v) |
| Returns a Transformation object, encoding a rigid translation. More...
|
|
static Transformation | RotationX (float ang) |
| Return a Transformation object, encoding a rotation around the X axis. The parameter ang specifies the rotation angle (in degrees). The positive sign is given by the right-hand rule.
|
|
static Transformation | RotationY (float ang) |
| Return a Transformation object, encoding a rotation around the Y axis. The parameter ang specifies the rotation angle (in degrees). The positive sign is given by the right-hand rule.
|
|
static Transformation | RotationZ (float ang) |
| Return a Transformation object, encoding a rotation around the Z axis. The parameter ang specifies the rotation angle (in degrees). The positive sign is given by the right-hand rule.
|
|
static Transformation | Scaling (Vec v) |
| Returns a Transformation object, encoding a scaling.
|
|
An affine transformation. This class encodes an affine transformation. It has been designed with the aim of making the calculation of the inverse transformation particularly efficient.