MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.BestFitParabolad Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, BestFitParabolad arg0)
 
None addPoint (self, float x, float y)
 
None addPoint (self, float x, float y, float weight)
 
Parabolad getBestParabola (self, float tol=2.220446049250313e-16)
 

Detailed Description

Generated from:  MR::BestFitParabolad
Aliases:  BestFitParabola_double

accumulates a number of (x,y) points to find the best-least-squares parabola approximating them

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.BestFitParabolad.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/2]

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

Member Function Documentation

◆ addPoint() [1/2]

None meshlib.mrmeshpy.BestFitParabolad.addPoint ( self,
float x,
float y )
accumulates one more point for parabola fitting

◆ addPoint() [2/2]

None meshlib.mrmeshpy.BestFitParabolad.addPoint ( self,
float x,
float y,
float weight )
accumulates one more point with given weight for parabola fitting

◆ getBestParabola()

Parabolad meshlib.mrmeshpy.BestFitParabolad.getBestParabola ( self,
float tol = 2.220446049250313e-16 )
computes the best approximating parabola from the accumulated points;

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