MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.AffineXf3d Class Reference

Public Member Functions

Vector3d __call__ (self, Vector3d x)
 
bool __eq__ (self, AffineXf3d b)
 
None __init__ (self, Matrix4d arg0)
 
None __init__ (self)
 
None __init__ (self, Matrix3d A, Vector3d b)
 
AffineXf3d __mul__ (self, AffineXf3d v)
 
bool __ne__ (self, AffineXf3d b)
 
str __repr__ (self)
 
AffineXf3d inverse (self)
 
Vector3d linearOnly (self, Vector3d x)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
AffineXf3d linear (Matrix3d A)
 
AffineXf3d operator (*args, **kwargs)
 
AffineXf3d operator (*args, **kwargs)
 
AffineXf3d translation (Vector3d b)
 
AffineXf3d xfAround (Matrix3d A, Vector3d 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
\\ingroup MathGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.AffineXf3d.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.AffineXf3d.__init__ ( self,
Matrix4d arg0 )

◆ __init__() [3/4]

None mrmeshpy.AffineXf3d.__init__ ( self)

◆ __init__() [4/4]

None mrmeshpy.AffineXf3d.__init__ ( self,
Matrix3d A,
Vector3d b )

Member Function Documentation

◆ __call__()

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

◆ __eq__()

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

◆ __mul__()

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

◆ __repr__()

str mrmeshpy.AffineXf3d.__repr__ ( self)

◆ inverse()

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

◆ linear()

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

◆ linearOnly()

Vector3d mrmeshpy.AffineXf3d.linearOnly ( self,
Vector3d 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

◆ operator() [1/2]

AffineXf3d mrmeshpy.AffineXf3d.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

AffineXf3d mrmeshpy.AffineXf3d.operator ( * args,
** kwargs )
static

◆ translation()

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

◆ xfAround()

AffineXf3d mrmeshpy.AffineXf3d.xfAround ( Matrix3d A,
Vector3d stable )
static
creates transformation with given linear part with given stable point

Member Data Documentation

◆ _offsetof_A

typing mrmeshpy.AffineXf3d._offsetof_A = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.AffineXf3d._offsetof_b = 72
staticprotected

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