MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ContoursMeshAlignParams Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, MeshTriPoint meshPoint, Vector2f pivotPoint, Vector3f xDirection, Vector3f zDirection, float extrusion, float maximumShift)
 
float extrusion (self)
 
None extrusion (self, float arg1)
 
float maximumShift (self)
 
None maximumShift (self, float arg1)
 
MeshTriPoint meshPoint (self)
 
None meshPoint (self, MeshTriPoint arg1)
 
Vector2f pivotPoint (self)
 
None pivotPoint (self, Vector2f arg1)
 
Vector3f xDirection (self)
 
None xDirection (self, Vector3f arg1)
 
Vector3f zDirection (self)
 
None zDirection (self, Vector3f arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
ContoursMeshAlignParams operator (*args, **kwargs)
 
ContoursMeshAlignParams operator (*args, **kwargs)
 

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 contour onto mesh surface

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.ContoursMeshAlignParams.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.ContoursMeshAlignParams.__init__ ( self,
MeshTriPoint meshPoint,
Vector2f pivotPoint,
Vector3f xDirection,
Vector3f zDirection,
float extrusion,
float maximumShift )
Implicit aggregate constructor.

Member Function Documentation

◆ extrusion() [1/2]

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

◆ extrusion() [2/2]

None mrmeshpy.ContoursMeshAlignParams.extrusion ( self,
float arg1 )

◆ maximumShift() [1/2]

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

◆ maximumShift() [2/2]

None mrmeshpy.ContoursMeshAlignParams.maximumShift ( self,
float arg1 )

◆ meshPoint() [1/2]

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

◆ meshPoint() [2/2]

None mrmeshpy.ContoursMeshAlignParams.meshPoint ( self,
MeshTriPoint arg1 )

◆ operator() [1/2]

ContoursMeshAlignParams mrmeshpy.ContoursMeshAlignParams.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

ContoursMeshAlignParams mrmeshpy.ContoursMeshAlignParams.operator ( * args,
** kwargs )
static

◆ 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

◆ pivotPoint() [2/2]

None mrmeshpy.ContoursMeshAlignParams.pivotPoint ( self,
Vector2f arg1 )

◆ xDirection() [1/2]

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

◆ xDirection() [2/2]

None mrmeshpy.ContoursMeshAlignParams.xDirection ( self,
Vector3f arg1 )

◆ zDirection() [1/2]

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

◆ zDirection() [2/2]

None mrmeshpy.ContoursMeshAlignParams.zDirection ( self,
Vector3f arg1 )

Member Data Documentation

◆ _offsetof_extrusion

typing mrmeshpy.ContoursMeshAlignParams._offsetof_extrusion = 40
staticprotected

◆ _offsetof_maximumShift

typing mrmeshpy.ContoursMeshAlignParams._offsetof_maximumShift = 44
staticprotected

◆ _offsetof_meshPoint

typing mrmeshpy.ContoursMeshAlignParams._offsetof_meshPoint = 0
staticprotected

◆ _offsetof_pivotPoint

typing mrmeshpy.ContoursMeshAlignParams._offsetof_pivotPoint = 12
staticprotected

◆ _offsetof_xDirection

typing mrmeshpy.ContoursMeshAlignParams._offsetof_xDirection = 20
staticprotected

◆ _offsetof_zDirection

typing mrmeshpy.ContoursMeshAlignParams._offsetof_zDirection = 32
staticprotected

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