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

Public Member Functions

 __init__ (self, *args, **kwargs)
float extrusion (self)
float maximumShift (self)
ConstMeshTriPoint meshPoint (self)
ConstVector2f pivotPoint (self)
ConstVector3f xDirection (self)
Vector3f zDirection (self)

Static Protected Attributes

typing _offsetof_extrusion = 40
typing _offsetof_maximumShift = 44
typing _offsetof_meshPoint = 0
typing _offsetof_pivotPoint = 12
typing _offsetof_xDirection = 20
typing _offsetof_zDirection = 32

Detailed Description

Generated from:  MR::ContoursMeshAlignParams

Parameters for aligning 2d contours onto mesh surface

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstContoursMeshAlignParams, meshPoint: meshlib.mrmeshpy.ConstMeshTriPoint, pivotPoint: meshlib.mrmeshpy.ConstVector2f, xDirection: meshlib.mrmeshpy.ConstVector3f, zDirection: meshlib.mrmeshpy.ConstVector3f, extrusion: float, maximumShift: float) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ extrusion()

float mrmeshpy.ConstContoursMeshAlignParams.extrusion ( self)
Contours extrusion in +z and -z direction

Reimplemented in mrmeshpy.ContoursMeshAlignParams, and mrmeshpy.ContoursMeshAlignParams.

◆ maximumShift()

float mrmeshpy.ConstContoursMeshAlignParams.maximumShift ( self)
Maximum allowed shift along 'zDirection' for alignment

Reimplemented in mrmeshpy.ContoursMeshAlignParams, and mrmeshpy.ContoursMeshAlignParams.

◆ meshPoint()

ConstMeshTriPoint mrmeshpy.ConstContoursMeshAlignParams.meshPoint ( self)
Point coordinate on mesh, represent position of contours box 'pivotPoint' on mesh

Reimplemented in mrmeshpy.ContoursMeshAlignParams, and mrmeshpy.ContoursMeshAlignParams.

◆ pivotPoint()

ConstVector2f mrmeshpy.ConstContoursMeshAlignParams.pivotPoint ( self)
Relative position of 'meshPoint' in contours bounding box
(0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right

Reimplemented in mrmeshpy.ContoursMeshAlignParams, and mrmeshpy.ContoursMeshAlignParams.

◆ xDirection()

ConstVector3f mrmeshpy.ConstContoursMeshAlignParams.xDirection ( self)
Represents 2d contours xDirection in mesh space

Reimplemented in mrmeshpy.ContoursMeshAlignParams, and mrmeshpy.ContoursMeshAlignParams.

◆ zDirection()

Vector3f mrmeshpy.ConstContoursMeshAlignParams.zDirection ( self)
Represents contours normal in mesh space
if nullptr - use mesh normal at 'meshPoint'

Reimplemented in mrmeshpy.ContoursMeshAlignParams, and mrmeshpy.ContoursMeshAlignParams.

Member Data Documentation

◆ _offsetof_extrusion

typing mrmeshpy.ConstContoursMeshAlignParams._offsetof_extrusion = 40
staticprotected

◆ _offsetof_maximumShift

typing mrmeshpy.ConstContoursMeshAlignParams._offsetof_maximumShift = 44
staticprotected

◆ _offsetof_meshPoint

typing mrmeshpy.ConstContoursMeshAlignParams._offsetof_meshPoint = 0
staticprotected

◆ _offsetof_pivotPoint

typing mrmeshpy.ConstContoursMeshAlignParams._offsetof_pivotPoint = 12
staticprotected

◆ _offsetof_xDirection

typing mrmeshpy.ConstContoursMeshAlignParams._offsetof_xDirection = 20
staticprotected

◆ _offsetof_zDirection

typing mrmeshpy.ConstContoursMeshAlignParams._offsetof_zDirection = 32
staticprotected

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