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

Public Member Functions

 __init__ (self, *args, **kwargs)
AffineXf3d linearXf (self)
AffineXf3d rigidScaleXf (self)
ConstVector3d a (self)
ConstVector3d b (self)
float s (self)

Static Protected Attributes

typing _offsetof_a = 0
typing _offsetof_b = 24
typing _offsetof_s = 48

Detailed Description

Generated from:  MR::RigidScaleXf3d

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.ConstRigidScaleXf3d.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

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

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ a()

ConstVector3d mrmeshpy.ConstRigidScaleXf3d.a ( self)
rotation angles relative to x,y,z axes

Reimplemented in mrmeshpy.RigidScaleXf3d, and mrmeshpy.RigidScaleXf3d.

◆ b()

ConstVector3d mrmeshpy.ConstRigidScaleXf3d.b ( self)
shift

Reimplemented in mrmeshpy.RigidScaleXf3d, and mrmeshpy.RigidScaleXf3d.

◆ linearXf()

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

◆ rigidScaleXf()

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

◆ s()

float mrmeshpy.ConstRigidScaleXf3d.s ( self)
scaling

Reimplemented in mrmeshpy.RigidScaleXf3d, and mrmeshpy.RigidScaleXf3d.

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstRigidScaleXf3d._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstRigidScaleXf3d._offsetof_b = 24
staticprotected

◆ _offsetof_s

typing mrmeshpy.ConstRigidScaleXf3d._offsetof_s = 48
staticprotected

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