Ipelib
|
#include <ipegeo.h>
Public Member Functions | |
Linear () | |
Linear (Angle angle) | |
Linear (double m11, double m21, double m12, double m22) | |
Linear (String str) | |
Linear | inverse () const |
bool | isIdentity () const |
Vector | operator* (const Vector &rhs) const |
bool | operator== (const Linear &rhs) const |
double | determinant () const |
Public Attributes | |
double | a [4] |
Related Functions | |
(Note that these are not member functions.) | |
Stream & | operator<< (Stream &stream, const Linear &rhs) |
Vector | operator* (const Vector &rhs) const |
Linear | operator* (const Linear &lhs, const Linear &rhs) |
Linear transformation in the plane (2x2 matrix).
|
explicit |
Create matrix representing a rotation by angle.
References a.
|
inlineexplicit |
Create linear matrix with given coefficients.
References a.
Linear Linear::inverse | ( | ) | const |
Return inverse.
References a, determinant(), and Linear().
Referenced by ipe::Arc::bbox(), and ipe::Painter::untransform().
|
inline |
Is this the identity matrix?
References a.
|
inline |
Check for equality of two linear matrices.
References a.
|
inline |
Linear matrix times vector.
References a, ipe::Vector::x, and ipe::Vector::y.
double ipe::Linear::a[4] |
Referenced by determinant(), inverse(), isIdentity(), Linear(), ipe::Matrix::Matrix(), operator*(), and operator==().