Public Member Functions | |
| Vector3f | __call__ (self, ConstVector3f x) |
| bool | __eq__ (self, ConstAffineXf3f b) |
| __init__ (self, *args, **kwargs) | |
| AffineXf3f | __mul__ (self, ConstAffineXf3f v) |
| bool | __ne__ (self, ConstAffineXf3f b) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any xf) |
| AffineXf3f | inverse (self) |
| Vector3f | linearOnly (self, ConstVector3f x) |
| ConstMatrix3f | A (self) |
| ConstVector3f | b (self) |
Static Public Member Functions | |
| AffineXf3f | linear (ConstMatrix3f A) |
| AffineXf3f | translation (ConstVector3f b) |
| AffineXf3f | xfAround (ConstMatrix3f A, ConstVector3f stable) |
Static Protected Attributes | |
| typing | _offsetof_A = 0 |
| typing | _offsetof_b = 36 |
Generated from: MR::AffineXf3f Aliases: Vector_AffineXf3f_ObjId.const_pointer, Vector_AffineXf3f_ObjId.const_reference, Vector_AffineXf3f_ObjId.pointer, Vector_AffineXf3f_ObjId.reference, Vector_AffineXf3f_ObjId.value_type affine transformation: y = A*x + b, where A in VxV, and b in V
| mrmeshpy.ConstAffineXf3f.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f, arg0: meshlib.mrmeshpy.ConstContourToDistanceMapParams) -> None converts in transformation 2. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f, arg0: meshlib.mrmeshpy.ConstDistanceMapToWorld) -> None converts in transformation X: X(p) == toWorld( p.x, p.y, p.z ) 3. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f, arg0: meshlib.mrmeshpy.ConstMatrix4f) -> None 4. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f, arg0: meshlib.mrmeshpy.ConstMeshToDistanceMapParams) -> None converts in transformation 5. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f) -> None 6. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f, A: meshlib.mrmeshpy.ConstMatrix3f, b: meshlib.mrmeshpy.ConstVector3f) -> None 7. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f, xf: meshlib.mrmeshpy.ConstAffineXf3d) -> None Here `U == V` doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and results in duplicate functions in C#. 8. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f, arg0: meshlib.mrmeshpy.AffineXf3f) -> None Implicit copy constructor. 9. __init__(self: meshlib.mrmeshpy.ConstAffineXf3f, : meshlib.mrmeshpy.AffineXf3f) -> None
| Vector3f mrmeshpy.ConstAffineXf3f.__call__ | ( | self, | |
| ConstVector3f | x ) |
application of the transformation to a point
| bool mrmeshpy.ConstAffineXf3f.__eq__ | ( | self, | |
| ConstAffineXf3f | b ) |
| AffineXf3f mrmeshpy.ConstAffineXf3f.__mul__ | ( | self, | |
| ConstAffineXf3f | 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.ConstAffineXf3f.__ne__ | ( | self, | |
| ConstAffineXf3f | b ) |
| str mrmeshpy.ConstAffineXf3f.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstAffineXf3f.__rlshift__ | ( | self, | |
| typing.Any | xf ) |
| ConstMatrix3f mrmeshpy.ConstAffineXf3f.A | ( | self | ) |
Reimplemented in mrmeshpy.AffineXf3f, and mrmeshpy.AffineXf3f.
| ConstVector3f mrmeshpy.ConstAffineXf3f.b | ( | self | ) |
Reimplemented in mrmeshpy.AffineXf3f, and mrmeshpy.AffineXf3f.
| AffineXf3f mrmeshpy.ConstAffineXf3f.inverse | ( | self | ) |
computes inverse transformation
|
static |
creates linear-only transformation (without translation)
| Vector3f mrmeshpy.ConstAffineXf3f.linearOnly | ( | self, | |
| ConstVector3f | 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 |