MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstAffineXf3f:

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

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __call__()

Vector3f mrmeshpy.ConstAffineXf3f.__call__ ( self,
ConstVector3f x )
application of the transformation to a point

◆ __eq__()

bool mrmeshpy.ConstAffineXf3f.__eq__ ( self,
ConstAffineXf3f b )

◆ __mul__()

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)

◆ __ne__()

bool mrmeshpy.ConstAffineXf3f.__ne__ ( self,
ConstAffineXf3f b )

◆ __repr__()

str mrmeshpy.ConstAffineXf3f.__repr__ ( self)

◆ __rlshift__()

typing.Any mrmeshpy.ConstAffineXf3f.__rlshift__ ( self,
typing.Any xf )

◆ A()

ConstMatrix3f mrmeshpy.ConstAffineXf3f.A ( self)

Reimplemented in mrmeshpy.AffineXf3f, and mrmeshpy.AffineXf3f.

◆ b()

ConstVector3f mrmeshpy.ConstAffineXf3f.b ( self)

Reimplemented in mrmeshpy.AffineXf3f, and mrmeshpy.AffineXf3f.

◆ inverse()

AffineXf3f mrmeshpy.ConstAffineXf3f.inverse ( self)
computes inverse transformation

◆ linear()

AffineXf3f mrmeshpy.ConstAffineXf3f.linear ( ConstMatrix3f A)
static
creates linear-only transformation (without translation)

◆ linearOnly()

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

◆ translation()

AffineXf3f mrmeshpy.ConstAffineXf3f.translation ( ConstVector3f b)
static
creates translation-only transformation (with identity linear component)

◆ xfAround()

AffineXf3f mrmeshpy.ConstAffineXf3f.xfAround ( ConstMatrix3f A,
ConstVector3f stable )
static
creates transformation with given linear part with given stable point

Member Data Documentation

◆ _offsetof_A

typing mrmeshpy.ConstAffineXf3f._offsetof_A = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstAffineXf3f._offsetof_b = 36
staticprotected

The documentation for this class was generated from the following file: