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

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

Detailed Description

Generated from:  MR::AffineXf2d

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

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __call__()

Vector2d mrmeshpy.ConstAffineXf2d.__call__ ( self,
ConstVector2d x )
application of the transformation to a point

◆ __eq__()

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

◆ __mul__()

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)

◆ __ne__()

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

◆ __repr__()

str mrmeshpy.ConstAffineXf2d.__repr__ ( self)

◆ __rlshift__()

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

◆ A()

ConstMatrix2d mrmeshpy.ConstAffineXf2d.A ( self)

Reimplemented in mrmeshpy.AffineXf2d, and mrmeshpy.AffineXf2d.

◆ b()

ConstVector2d mrmeshpy.ConstAffineXf2d.b ( self)

Reimplemented in mrmeshpy.AffineXf2d, and mrmeshpy.AffineXf2d.

◆ inverse()

AffineXf2d mrmeshpy.ConstAffineXf2d.inverse ( self)
computes inverse transformation

◆ linear()

AffineXf2d mrmeshpy.ConstAffineXf2d.linear ( ConstMatrix2d A)
static
creates linear-only transformation (without translation)

◆ linearOnly()

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

◆ translation()

AffineXf2d mrmeshpy.ConstAffineXf2d.translation ( ConstVector2d b)
static
creates translation-only transformation (with identity linear component)

◆ xfAround()

AffineXf2d mrmeshpy.ConstAffineXf2d.xfAround ( ConstMatrix2d A,
ConstVector2d stable )
static
creates transformation with given linear part with given stable point

Member Data Documentation

◆ _offsetof_A

typing mrmeshpy.ConstAffineXf2d._offsetof_A = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstAffineXf2d._offsetof_b = 32
staticprotected

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