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

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

Detailed Description

Generated from:  MR::AffineXf3d

affine transformation: y = A*x + b, where A in VxV, and b in V

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __call__()

Vector3d mrmeshpy.ConstAffineXf3d.__call__ ( self,
ConstVector3d x )
application of the transformation to a point

◆ __eq__()

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

◆ __mul__()

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)

◆ __ne__()

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

◆ __repr__()

str mrmeshpy.ConstAffineXf3d.__repr__ ( self)

◆ __rlshift__()

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

◆ A()

ConstMatrix3d mrmeshpy.ConstAffineXf3d.A ( self)

Reimplemented in mrmeshpy.AffineXf3d, and mrmeshpy.AffineXf3d.

◆ b()

ConstVector3d mrmeshpy.ConstAffineXf3d.b ( self)

Reimplemented in mrmeshpy.AffineXf3d, and mrmeshpy.AffineXf3d.

◆ inverse()

AffineXf3d mrmeshpy.ConstAffineXf3d.inverse ( self)
computes inverse transformation

◆ linear()

AffineXf3d mrmeshpy.ConstAffineXf3d.linear ( ConstMatrix3d A)
static
creates linear-only transformation (without translation)

◆ linearOnly()

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

◆ translation()

AffineXf3d mrmeshpy.ConstAffineXf3d.translation ( ConstVector3d b)
static
creates translation-only transformation (with identity linear component)

◆ xfAround()

AffineXf3d mrmeshpy.ConstAffineXf3d.xfAround ( ConstMatrix3d A,
ConstVector3d stable )
static
creates transformation with given linear part with given stable point

Member Data Documentation

◆ _offsetof_A

typing mrmeshpy.ConstAffineXf3d._offsetof_A = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstAffineXf3d._offsetof_b = 72
staticprotected

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