MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstCubicBezierCurve2f:

Public Member Functions

 __init__ (self, *args, **kwargs)
Vector2f getPoint (self, float t)

Static Public Member Functions

std_array_float_4 getWeights (float t)

Static Public Attributes

typing elements = 2

Static Protected Attributes

typing _offsetof_p = 0

Detailed Description

Generated from:  MR::CubicBezierCurve2f

Cubic Bezier curve

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstCubicBezierCurve2f, : meshlib.mrmeshpy.ConstCubicBezierCurve2f) -> None

Member Function Documentation

◆ getPoint()

Vector2f mrmeshpy.ConstCubicBezierCurve2f.getPoint ( self,
float t )
computes point on the curve from parameter value

◆ getWeights()

std_array_float_4 mrmeshpy.ConstCubicBezierCurve2f.getWeights ( float t)
static
computes weights of every control point for given parameter value, the sum of all weights is equal to 1

Member Data Documentation

◆ _offsetof_p

typing mrmeshpy.ConstCubicBezierCurve2f._offsetof_p = 0
staticprotected

◆ elements

typing mrmeshpy.ConstCubicBezierCurve2f.elements = 2
static

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