Public Member Functions | |
| Vector2d | __call__ (self, ConstVector2d x) |
| bool | __eq__ (self, ConstAffineXf2d b) |
| __init__ (self, *args, **kwargs) | |
| AffineXf2d | __mul__ (self, ConstAffineXf2d v) |
| bool | __ne__ (self, ConstAffineXf2d b) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any xf) |
| AffineXf2d | inverse (self) |
| Vector2d | linearOnly (self, ConstVector2d x) |
| ConstMatrix2d | A (self) |
| ConstVector2d | b (self) |
Static Public Member Functions | |
| AffineXf2d | linear (ConstMatrix2d A) |
| AffineXf2d | translation (ConstVector2d b) |
| AffineXf2d | xfAround (ConstMatrix2d A, ConstVector2d stable) |
Static Protected Attributes | |
| typing | _offsetof_A = 0 |
| typing | _offsetof_b = 32 |
Generated from: MR::AffineXf2d affine transformation: y = A*x + b, where A in VxV, and b in V
| mrmeshpy.ConstAffineXf2d.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstAffineXf2d) -> None 2. __init__(self: meshlib.mrmeshpy.ConstAffineXf2d, A: meshlib.mrmeshpy.ConstMatrix2d, b: meshlib.mrmeshpy.ConstVector2d) -> None 3. __init__(self: meshlib.mrmeshpy.ConstAffineXf2d, arg0: meshlib.mrmeshpy.AffineXf2d) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstAffineXf2d, : meshlib.mrmeshpy.AffineXf2d) -> None
| Vector2d mrmeshpy.ConstAffineXf2d.__call__ | ( | self, | |
| ConstVector2d | x ) |
application of the transformation to a point
| bool mrmeshpy.ConstAffineXf2d.__eq__ | ( | self, | |
| ConstAffineXf2d | b ) |
| AffineXf2d mrmeshpy.ConstAffineXf2d.__mul__ | ( | self, | |
| ConstAffineXf2d | 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.ConstAffineXf2d.__ne__ | ( | self, | |
| ConstAffineXf2d | b ) |
| str mrmeshpy.ConstAffineXf2d.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstAffineXf2d.__rlshift__ | ( | self, | |
| typing.Any | xf ) |
| ConstMatrix2d mrmeshpy.ConstAffineXf2d.A | ( | self | ) |
Reimplemented in mrmeshpy.AffineXf2d, and mrmeshpy.AffineXf2d.
| ConstVector2d mrmeshpy.ConstAffineXf2d.b | ( | self | ) |
Reimplemented in mrmeshpy.AffineXf2d, and mrmeshpy.AffineXf2d.
| AffineXf2d mrmeshpy.ConstAffineXf2d.inverse | ( | self | ) |
computes inverse transformation
|
static |
creates linear-only transformation (without translation)
| Vector2d mrmeshpy.ConstAffineXf2d.linearOnly | ( | self, | |
| ConstVector2d | 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 |