MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstRigidScaleXf3f Class Reference
Inheritance diagram for mrmeshpy.ConstRigidScaleXf3f:

Public Member Functions

 __init__ (self, *args, **kwargs)
AffineXf3f linearXf (self)
AffineXf3f rigidScaleXf (self)
ConstVector3f a (self)
ConstVector3f b (self)
float s (self)

Static Protected Attributes

typing _offsetof_a = 0
typing _offsetof_b = 12
typing _offsetof_s = 24

Detailed Description

Generated from:  MR::RigidScaleXf3f

rigid (with scale) transformation that multiplies all distances on same scale: y = s*A*x + b,
where s is a scalar, A is rotation matrix 3x3 stored as 3 angles, and b is shift vector

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstRigidScaleXf3f, a: meshlib.mrmeshpy.ConstVector3f, b: meshlib.mrmeshpy.ConstVector3f, s: float) -> None

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

Implicit copy constructor.

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

Member Function Documentation

◆ a()

ConstVector3f mrmeshpy.ConstRigidScaleXf3f.a ( self)
rotation angles relative to x,y,z axes

Reimplemented in mrmeshpy.RigidScaleXf3f, and mrmeshpy.RigidScaleXf3f.

◆ b()

ConstVector3f mrmeshpy.ConstRigidScaleXf3f.b ( self)
shift

Reimplemented in mrmeshpy.RigidScaleXf3f, and mrmeshpy.RigidScaleXf3f.

◆ linearXf()

AffineXf3f mrmeshpy.ConstRigidScaleXf3f.linearXf ( self)
converts this into not-rigid transformation but with matrix, which linearly depends on angles

◆ rigidScaleXf()

AffineXf3f mrmeshpy.ConstRigidScaleXf3f.rigidScaleXf ( self)
converts this into rigid (with scale) transformation, which non-linearly depends on angles

◆ s()

float mrmeshpy.ConstRigidScaleXf3f.s ( self)
scaling

Reimplemented in mrmeshpy.RigidScaleXf3f, and mrmeshpy.RigidScaleXf3f.

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstRigidScaleXf3f._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstRigidScaleXf3f._offsetof_b = 12
staticprotected

◆ _offsetof_s

typing mrmeshpy.ConstRigidScaleXf3f._offsetof_s = 24
staticprotected

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