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

Public Member Functions

None __init__ (self)
 
None __init__ (self, CubicBezierCurve2d arg0)
 
Vector2d getPoint (self, float t)
 

Static Public Member Functions

std_array_double_4 getWeights (float t)
 

Static Public Attributes

typing elements = 2
 

Detailed Description

Generated from:  MR::CubicBezierCurve2d

Cubic Bezier curve

Constructor & Destructor Documentation

◆ __init__() [1/2]

None mrmeshpy.CubicBezierCurve2d.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/2]

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

Member Function Documentation

◆ getPoint()

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

◆ getWeights()

std_array_double_4 mrmeshpy.CubicBezierCurve2d.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

◆ elements

typing mrmeshpy.CubicBezierCurve2d.elements = 2
static

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