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