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

Public Member Functions

 __init__ (self, *args, **kwargs)
bool allowRotation (self)
AffineXf3f b2tXf (self)
Const_std_optional_Vector3_float bodyNormal (self)
Const_std_optional_Vector3_float bodyUpDir (self)
Const_std_optional_Vector3_float center (self)
bool startMeshFromBody (self)
std_vector_std_vector_Vector3_float trajectoryNormals (self)

Static Protected Attributes

typing _offsetof_allowRotation = 0
typing _offsetof_b2tXf = 64
typing _offsetof_bodyNormal = 20
typing _offsetof_bodyUpDir = 36
typing _offsetof_center = 4
typing _offsetof_startMeshFromBody = 72
typing _offsetof_trajectoryNormals = 56

Detailed Description

Generated from:  MR::MovementBuildBodyParams

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstMovementBuildBodyParams, arg0: meshlib.mrmeshpy.ConstMovementBuildBodyParams) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMovementBuildBodyParams, allowRotation: bool, center: meshlib.mrmeshpy.Const_std_optional_Vector3_float, bodyNormal: meshlib.mrmeshpy.Const_std_optional_Vector3_float, bodyUpDir: meshlib.mrmeshpy.Const_std_optional_Vector3_float, trajectoryNormals: meshlib.mrmeshpy.Const_std_vector_std_vector_Vector3_float, b2tXf: meshlib.mrmeshpy.ConstAffineXf3f, startMeshFromBody: bool) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ allowRotation()

bool mrmeshpy.ConstMovementBuildBodyParams.allowRotation ( self)
if this flag is set, rotate body in trajectory vertices
according to its rotation
otherwise body movement will be done without any rotation

Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.

◆ b2tXf()

AffineXf3f mrmeshpy.ConstMovementBuildBodyParams.b2tXf ( self)
optional transform body space to trajectory space

Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.

◆ bodyNormal()

Const_std_optional_Vector3_float mrmeshpy.ConstMovementBuildBodyParams.bodyNormal ( self)
facing direction of body, used for initial rotation (if allowRotation)
if not set body accumulative normal is used

Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.

◆ bodyUpDir()

Const_std_optional_Vector3_float mrmeshpy.ConstMovementBuildBodyParams.bodyUpDir ( self)
up direction of body contours
corresponds with `trajectoryNormals` if both are present and `allowRotation` is set

Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.

◆ center()

Const_std_optional_Vector3_float mrmeshpy.ConstMovementBuildBodyParams.center ( self)
point in body space that follows trajectory
if not set body bounding box center is used

Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.

◆ startMeshFromBody()

bool mrmeshpy.ConstMovementBuildBodyParams.startMeshFromBody ( self)
if true, then body-contours will be located exactly on resulting mesh

Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.

◆ trajectoryNormals()

std_vector_std_vector_Vector3_float mrmeshpy.ConstMovementBuildBodyParams.trajectoryNormals ( self)
optional normal directions in each trajectory point
bodyUpDir corresponds to it if both are present and `allowRotation` is set

Reimplemented in mrmeshpy.MovementBuildBodyParams, and mrmeshpy.MovementBuildBodyParams.

Member Data Documentation

◆ _offsetof_allowRotation

typing mrmeshpy.ConstMovementBuildBodyParams._offsetof_allowRotation = 0
staticprotected

◆ _offsetof_b2tXf

typing mrmeshpy.ConstMovementBuildBodyParams._offsetof_b2tXf = 64
staticprotected

◆ _offsetof_bodyNormal

typing mrmeshpy.ConstMovementBuildBodyParams._offsetof_bodyNormal = 20
staticprotected

◆ _offsetof_bodyUpDir

typing mrmeshpy.ConstMovementBuildBodyParams._offsetof_bodyUpDir = 36
staticprotected

◆ _offsetof_center

typing mrmeshpy.ConstMovementBuildBodyParams._offsetof_center = 4
staticprotected

◆ _offsetof_startMeshFromBody

typing mrmeshpy.ConstMovementBuildBodyParams._offsetof_startMeshFromBody = 72
staticprotected

◆ _offsetof_trajectoryNormals

typing mrmeshpy.ConstMovementBuildBodyParams._offsetof_trajectoryNormals = 56
staticprotected

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