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

Public Member Functions

 __init__ (self, *args, **kwargs)
float extrusion (self)
bool periodicCurve (self)
ConstVector2f pivotBoxPoint (self)
float pivotCurveTime (self)
bool stretch (self)

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__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstBendContoursAlongCurveParams, pivotCurveTime: float, pivotBoxPoint: meshlib.mrmeshpy.ConstVector2f, periodicCurve: bool, stretch: bool, extrusion: float) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ extrusion()

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

Reimplemented in mrmeshpy.BendContoursAlongCurveParams, and mrmeshpy.BendContoursAlongCurveParams.

◆ periodicCurve()

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

Reimplemented in mrmeshpy.BendContoursAlongCurveParams, and mrmeshpy.BendContoursAlongCurveParams.

◆ pivotBoxPoint()

ConstVector2f mrmeshpy.ConstBendContoursAlongCurveParams.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 in mrmeshpy.BendContoursAlongCurveParams, and mrmeshpy.BendContoursAlongCurveParams.

◆ pivotCurveTime()

float mrmeshpy.ConstBendContoursAlongCurveParams.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 in mrmeshpy.BendContoursAlongCurveParams, and mrmeshpy.BendContoursAlongCurveParams.

◆ stretch()

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

Reimplemented in mrmeshpy.BendContoursAlongCurveParams, and mrmeshpy.BendContoursAlongCurveParams.

Member Data Documentation

◆ _offsetof_extrusion

typing mrmeshpy.ConstBendContoursAlongCurveParams._offsetof_extrusion = 16
staticprotected

◆ _offsetof_periodicCurve

typing mrmeshpy.ConstBendContoursAlongCurveParams._offsetof_periodicCurve = 12
staticprotected

◆ _offsetof_pivotBoxPoint

typing mrmeshpy.ConstBendContoursAlongCurveParams._offsetof_pivotBoxPoint = 4
staticprotected

◆ _offsetof_pivotCurveTime

typing mrmeshpy.ConstBendContoursAlongCurveParams._offsetof_pivotCurveTime = 0
staticprotected

◆ _offsetof_stretch

typing mrmeshpy.ConstBendContoursAlongCurveParams._offsetof_stretch = 13
staticprotected

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