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

Public Member Functions

None __init__ (self)
 
None __init__ (self, BendContoursAlongCurveParams arg0)
 
None __init__ (self, float pivotCurveTime, Vector2f pivotBoxPoint, bool periodicCurve, bool stretch, float extrusion)
 
float extrusion (self)
 
None extrusion (self, float arg1)
 
bool periodicCurve (self)
 
None periodicCurve (self, bool arg1)
 
Vector2f pivotBoxPoint (self)
 
None pivotBoxPoint (self, Vector2f arg1)
 
float pivotCurveTime (self)
 
None pivotCurveTime (self, float arg1)
 
bool stretch (self)
 
None stretch (self, bool arg1)
 

Static Public Member Functions

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

Static Protected Attributes

typing _offsetof_extrusion = 16
 
typing _offsetof_periodicCurve = 12
 
typing _offsetof_pivotBoxPoint = 4
 
typing _offsetof_pivotCurveTime = 0
 
typing _offsetof_stretch = 13
 

Detailed Description

Generated from:  MR::BendContoursAlongCurveParams

Parameters for aligning 2d contours along given curve

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.BendContoursAlongCurveParams.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.BendContoursAlongCurveParams.__init__ ( self,
float pivotCurveTime,
Vector2f pivotBoxPoint,
bool periodicCurve,
bool stretch,
float extrusion )
Implicit aggregate constructor.

Member Function Documentation

◆ extrusion() [1/2]

float mrmeshpy.BendContoursAlongCurveParams.extrusion ( self)
Contours extrusion outside of curve level

◆ extrusion() [2/2]

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

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ periodicCurve() [1/2]

bool mrmeshpy.BendContoursAlongCurveParams.periodicCurve ( self)
if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x)

◆ periodicCurve() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.periodicCurve ( self,
bool arg1 )

◆ pivotBoxPoint() [1/2]

Vector2f mrmeshpy.BendContoursAlongCurveParams.pivotBoxPoint ( self)
Position of the curve(pivotCurveTime) in the contours' bounding box:
(0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right

◆ pivotBoxPoint() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.pivotBoxPoint ( self,
Vector2f arg1 )

◆ pivotCurveTime() [1/2]

float mrmeshpy.BendContoursAlongCurveParams.pivotCurveTime ( self)
Position on the curve, where bounding box's pivot point is mapped

◆ pivotCurveTime() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.pivotCurveTime ( self,
float arg1 )

◆ stretch() [1/2]

bool mrmeshpy.BendContoursAlongCurveParams.stretch ( self)
stretch all contours along curve to fit in unit curve range

◆ stretch() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.stretch ( self,
bool arg1 )

Member Data Documentation

◆ _offsetof_extrusion

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_extrusion = 16
staticprotected

◆ _offsetof_periodicCurve

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_periodicCurve = 12
staticprotected

◆ _offsetof_pivotBoxPoint

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_pivotBoxPoint = 4
staticprotected

◆ _offsetof_pivotCurveTime

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_pivotCurveTime = 0
staticprotected

◆ _offsetof_stretch

typing mrmeshpy.BendContoursAlongCurveParams._offsetof_stretch = 13
staticprotected

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