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

Public Member Functions

Vector3f __call__ (self, Vector3f x)
 
bool __eq__ (self, AffineXf3f b)
 
None __init__ (self)
 
None __init__ (self, Matrix3f A, Vector3f b)
 
None __init__ (self, AffineXf3f xf)
 
None __init__ (self, AffineXf3d xf)
 
None __init__ (self, Matrix4f arg0)
 
None __init__ (self, MeshToDistanceMapParams arg0)
 
None __init__ (self, ContourToDistanceMapParams arg0)
 
None __init__ (self, DistanceMapToWorld arg0)
 
AffineXf3f __mul__ (self, AffineXf3f v)
 
bool __ne__ (self, AffineXf3f b)
 
str __repr__ (self)
 
AffineXf3f inverse (self)
 
Vector3f linearOnly (self, Vector3f x)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
AffineXf3f linear (Matrix3f A)
 
AffineXf3f operator (*args, **kwargs)
 
AffineXf3f operator (*args, **kwargs)
 
AffineXf3f translation (Vector3f b)
 
AffineXf3f xfAround (Matrix3f A, Vector3f stable)
 

Static Protected Attributes

typing _offsetof_A = 0
 
typing _offsetof_b = 36
 

Detailed Description

Generated from:  MR::AffineXf3f
Aliases:  Vector_AffineXf3f_ObjId.reference, Vector_AffineXf3f_ObjId.value_type, Vector_AffineXf3f_ObjId.const_reference

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

Constructor & Destructor Documentation

◆ __init__() [1/9]

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

◆ __init__() [2/9]

None mrmeshpy.AffineXf3f.__init__ ( self)

◆ __init__() [3/9]

None mrmeshpy.AffineXf3f.__init__ ( self,
Matrix3f A,
Vector3f b )

◆ __init__() [4/9]

None mrmeshpy.AffineXf3f.__init__ ( self,
AffineXf3f xf )

◆ __init__() [5/9]

None mrmeshpy.AffineXf3f.__init__ ( self,
AffineXf3d xf )

◆ __init__() [6/9]

None mrmeshpy.AffineXf3f.__init__ ( self,
Matrix4f arg0 )

◆ __init__() [7/9]

None mrmeshpy.AffineXf3f.__init__ ( self,
MeshToDistanceMapParams arg0 )
converts in transformation

◆ __init__() [8/9]

None mrmeshpy.AffineXf3f.__init__ ( self,
ContourToDistanceMapParams arg0 )
converts in transformation

◆ __init__() [9/9]

None mrmeshpy.AffineXf3f.__init__ ( self,
DistanceMapToWorld arg0 )
converts in transformation X: X(p) == toWorld( p.x, p.y, p.z )

Member Function Documentation

◆ __call__()

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

◆ __eq__()

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

◆ __mul__()

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

◆ __repr__()

str mrmeshpy.AffineXf3f.__repr__ ( self)

◆ inverse()

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

◆ linear()

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

◆ linearOnly()

Vector3f mrmeshpy.AffineXf3f.linearOnly ( self,
Vector3f 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]

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

◆ operator() [2/2]

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

◆ translation()

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

◆ xfAround()

AffineXf3f mrmeshpy.AffineXf3f.xfAround ( Matrix3f A,
Vector3f stable )
static
creates transformation with given linear part with given stable point

Member Data Documentation

◆ _offsetof_A

typing mrmeshpy.AffineXf3f._offsetof_A = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.AffineXf3f._offsetof_b = 36
staticprotected

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