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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstContoursMeshAlignParams arg0)
None __init__ (self, ConstMeshTriPoint meshPoint, ConstVector2f pivotPoint, ConstVector3f xDirection, ConstVector3f zDirection, float extrusion, float maximumShift)
ContoursMeshAlignParams assign (self, ConstContoursMeshAlignParams other)
float extrusion (self)
None extrusion (self, float arg1)
float maximumShift (self)
None maximumShift (self, float arg1)
MeshTriPoint meshPoint (self)
None meshPoint (self, ConstMeshTriPoint arg1)
Vector2f pivotPoint (self)
None pivotPoint (self, ConstVector2f arg1)
Vector3f xDirection (self)
None xDirection (self, ConstVector3f arg1)
Vector3f zDirection (self)
None zDirection (self, ConstVector3f arg1)
Public Member Functions inherited from mrmeshpy.ConstContoursMeshAlignParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstContoursMeshAlignParams
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__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.ContoursMeshAlignParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.ContoursMeshAlignParams.__init__ ( self,
ConstContoursMeshAlignParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.ContoursMeshAlignParams.__init__ ( self,
ConstMeshTriPoint meshPoint,
ConstVector2f pivotPoint,
ConstVector3f xDirection,
ConstVector3f zDirection,
float extrusion,
float maximumShift )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

ContoursMeshAlignParams mrmeshpy.ContoursMeshAlignParams.assign ( self,
ConstContoursMeshAlignParams other )

◆ extrusion() [1/2]

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

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ extrusion() [2/2]

None mrmeshpy.ContoursMeshAlignParams.extrusion ( self,
float arg1 )
Contours extrusion in +z and -z direction

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ maximumShift() [1/2]

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

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ maximumShift() [2/2]

None mrmeshpy.ContoursMeshAlignParams.maximumShift ( self,
float arg1 )
Maximum allowed shift along 'zDirection' for alignment

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ meshPoint() [1/2]

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

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ meshPoint() [2/2]

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

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ pivotPoint() [1/2]

Vector2f mrmeshpy.ContoursMeshAlignParams.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 from mrmeshpy.ConstContoursMeshAlignParams.

◆ pivotPoint() [2/2]

None mrmeshpy.ContoursMeshAlignParams.pivotPoint ( self,
ConstVector2f arg1 )
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 from mrmeshpy.ConstContoursMeshAlignParams.

◆ xDirection() [1/2]

Vector3f mrmeshpy.ContoursMeshAlignParams.xDirection ( self)
Represents 2d contours xDirection in mesh space

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ xDirection() [2/2]

None mrmeshpy.ContoursMeshAlignParams.xDirection ( self,
ConstVector3f arg1 )
Represents 2d contours xDirection in mesh space

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ zDirection() [1/2]

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

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.

◆ zDirection() [2/2]

None mrmeshpy.ContoursMeshAlignParams.zDirection ( self,
ConstVector3f arg1 )
Represents contours normal in mesh space
if nullptr - use mesh normal at 'meshPoint'

Reimplemented from mrmeshpy.ConstContoursMeshAlignParams.


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