Public Member Functions | |
| Vector2f | __call__ (self, ConstVector2f x) |
| bool | __eq__ (self, ConstAffineXf2f b) |
| __init__ (self, *args, **kwargs) | |
| AffineXf2f | __mul__ (self, ConstAffineXf2f v) |
| bool | __ne__ (self, ConstAffineXf2f b) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any xf) |
| AffineXf2f | inverse (self) |
| Vector2f | linearOnly (self, ConstVector2f x) |
| ConstMatrix2f | A (self) |
| ConstVector2f | b (self) |
Static Public Member Functions | |
| AffineXf2f | linear (ConstMatrix2f A) |
| AffineXf2f | translation (ConstVector2f b) |
| AffineXf2f | xfAround (ConstMatrix2f A, ConstVector2f stable) |
Static Protected Attributes | |
| typing | _offsetof_A = 0 |
| typing | _offsetof_b = 16 |
Generated from: MR::AffineXf2f affine transformation: y = A*x + b, where A in VxV, and b in V
| mrmeshpy.ConstAffineXf2f.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstAffineXf2f) -> None 2. __init__(self: meshlib.mrmeshpy.ConstAffineXf2f, A: meshlib.mrmeshpy.ConstMatrix2f, b: meshlib.mrmeshpy.ConstVector2f) -> None 3. __init__(self: meshlib.mrmeshpy.ConstAffineXf2f, arg0: meshlib.mrmeshpy.AffineXf2f) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstAffineXf2f, : meshlib.mrmeshpy.AffineXf2f) -> None
| Vector2f mrmeshpy.ConstAffineXf2f.__call__ | ( | self, | |
| ConstVector2f | x ) |
application of the transformation to a point
| bool mrmeshpy.ConstAffineXf2f.__eq__ | ( | self, | |
| ConstAffineXf2f | b ) |
| AffineXf2f mrmeshpy.ConstAffineXf2f.__mul__ | ( | self, | |
| ConstAffineXf2f | v ) |
composition of two transformations: \\f( y = (u * v) ( x ) = u( v( x ) ) = ( u.A * ( v.A * x + v.b ) + u.b ) = ( u.A * v.A ) * x + ( u.A * v.b + u.b ) \\f)
| bool mrmeshpy.ConstAffineXf2f.__ne__ | ( | self, | |
| ConstAffineXf2f | b ) |
| str mrmeshpy.ConstAffineXf2f.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstAffineXf2f.__rlshift__ | ( | self, | |
| typing.Any | xf ) |
| ConstMatrix2f mrmeshpy.ConstAffineXf2f.A | ( | self | ) |
Reimplemented in mrmeshpy.AffineXf2f, and mrmeshpy.AffineXf2f.
| ConstVector2f mrmeshpy.ConstAffineXf2f.b | ( | self | ) |
Reimplemented in mrmeshpy.AffineXf2f, and mrmeshpy.AffineXf2f.
| AffineXf2f mrmeshpy.ConstAffineXf2f.inverse | ( | self | ) |
computes inverse transformation
|
static |
creates linear-only transformation (without translation)
| Vector2f mrmeshpy.ConstAffineXf2f.linearOnly | ( | self, | |
| ConstVector2f | x ) |
applies only linear part of the transformation to given vector (e.g. to normal) skipping adding shift (b) for example if this is a rigid transformation, then only rotates input vector
|
static |
creates translation-only transformation (with identity linear component)
|
static |
creates transformation with given linear part with given stable point
|
staticprotected |
|
staticprotected |