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

Public Member Functions

Vector2f __call__ (self, ConstVector2f x)
bool __eq__ (self, ConstAffineXf2f b)
 __init__ (self, *args, **kwargs)
AffineXf2f __mul__ (self, ConstAffineXf2f v)
bool __ne__ (self, ConstAffineXf2f b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any xf)
AffineXf2f inverse (self)
Vector2f linearOnly (self, ConstVector2f x)
ConstMatrix2f A (self)
ConstVector2f b (self)

Static Public Member Functions

AffineXf2f linear (ConstMatrix2f A)
AffineXf2f translation (ConstVector2f b)
AffineXf2f xfAround (ConstMatrix2f A, ConstVector2f stable)

Static Protected Attributes

typing _offsetof_A = 0
typing _offsetof_b = 16

Detailed Description

Generated from:  MR::AffineXf2f

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

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstAffineXf2f.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstAffineXf2f) -> None

2. __init__(self: meshlib.mrmeshpy.ConstAffineXf2f, A: meshlib.mrmeshpy.ConstMatrix2f, b: meshlib.mrmeshpy.ConstVector2f) -> None

3. __init__(self: meshlib.mrmeshpy.ConstAffineXf2f, arg0: meshlib.mrmeshpy.AffineXf2f) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstAffineXf2f, : meshlib.mrmeshpy.AffineXf2f) -> None

Member Function Documentation

◆ __call__()

Vector2f mrmeshpy.ConstAffineXf2f.__call__ ( self,
ConstVector2f x )
application of the transformation to a point

◆ __eq__()

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

◆ __mul__()

AffineXf2f mrmeshpy.ConstAffineXf2f.__mul__ ( self,
ConstAffineXf2f 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.ConstAffineXf2f.__ne__ ( self,
ConstAffineXf2f b )

◆ __repr__()

str mrmeshpy.ConstAffineXf2f.__repr__ ( self)

◆ __rlshift__()

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

◆ A()

ConstMatrix2f mrmeshpy.ConstAffineXf2f.A ( self)

Reimplemented in mrmeshpy.AffineXf2f, and mrmeshpy.AffineXf2f.

◆ b()

ConstVector2f mrmeshpy.ConstAffineXf2f.b ( self)

Reimplemented in mrmeshpy.AffineXf2f, and mrmeshpy.AffineXf2f.

◆ inverse()

AffineXf2f mrmeshpy.ConstAffineXf2f.inverse ( self)
computes inverse transformation

◆ linear()

AffineXf2f mrmeshpy.ConstAffineXf2f.linear ( ConstMatrix2f A)
static
creates linear-only transformation (without translation)

◆ linearOnly()

Vector2f mrmeshpy.ConstAffineXf2f.linearOnly ( self,
ConstVector2f 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()

AffineXf2f mrmeshpy.ConstAffineXf2f.translation ( ConstVector2f b)
static
creates translation-only transformation (with identity linear component)

◆ xfAround()

AffineXf2f mrmeshpy.ConstAffineXf2f.xfAround ( ConstMatrix2f A,
ConstVector2f stable )
static
creates transformation with given linear part with given stable point

Member Data Documentation

◆ _offsetof_A

typing mrmeshpy.ConstAffineXf2f._offsetof_A = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstAffineXf2f._offsetof_b = 16
staticprotected

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