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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstBendContoursAlongCurveParams arg0)
None __init__ (self, float pivotCurveTime, ConstVector2f pivotBoxPoint, bool periodicCurve, bool stretch, float extrusion)
BendContoursAlongCurveParams assign (self, ConstBendContoursAlongCurveParams other)
float extrusion (self)
None extrusion (self, float arg1)
bool periodicCurve (self)
None periodicCurve (self, bool arg1)
Vector2f pivotBoxPoint (self)
None pivotBoxPoint (self, ConstVector2f arg1)
float pivotCurveTime (self)
None pivotCurveTime (self, float arg1)
bool stretch (self)
None stretch (self, bool arg1)
Public Member Functions inherited from mrmeshpy.ConstBendContoursAlongCurveParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstBendContoursAlongCurveParams
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,
ConstBendContoursAlongCurveParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

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

Member Function Documentation

◆ assign()

BendContoursAlongCurveParams mrmeshpy.BendContoursAlongCurveParams.assign ( self,
ConstBendContoursAlongCurveParams other )

◆ extrusion() [1/2]

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

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ extrusion() [2/2]

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

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ periodicCurve() [1/2]

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

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ periodicCurve() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.periodicCurve ( self,
bool arg1 )
if true, curve parameter will be always within [0,curve.totalLength) with repetition: xr := mod( x, curve.totalLength )

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ 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

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ pivotBoxPoint() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.pivotBoxPoint ( self,
ConstVector2f arg1 )
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

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ pivotCurveTime() [1/2]

float mrmeshpy.BendContoursAlongCurveParams.pivotCurveTime ( self)
Position on the curve, where bounding box's pivot point is mapped
(0) - start of the curve, (1) - end of the curve

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ pivotCurveTime() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.pivotCurveTime ( self,
float arg1 )
Position on the curve, where bounding box's pivot point is mapped
(0) - start of the curve, (1) - end of the curve

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ stretch() [1/2]

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

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.

◆ stretch() [2/2]

None mrmeshpy.BendContoursAlongCurveParams.stretch ( self,
bool arg1 )
stretch all contours along curve to fit in curve.totalLength

Reimplemented from mrmeshpy.ConstBendContoursAlongCurveParams.


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