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

Public Member Functions

None __init__ (self)
 
None __init__ (self, BestFitParabolaf arg0)
 
None addPoint (self, float x, float y)
 
None addPoint (self, float x, float y, float weight)
 
Parabolaf getBestParabola (self, float tol=1.1920928955078125e-07)
 

Detailed Description

Generated from:  MR::BestFitParabolaf
Aliases:  BestFitParabola_float

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.BestFitParabolaf.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/2]

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

Member Function Documentation

◆ addPoint() [1/2]

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

◆ addPoint() [2/2]

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

◆ getBestParabola()

Parabolaf meshlib.mrmeshpy.BestFitParabolaf.getBestParabola ( self,
float tol = 1.1920928955078125e-07 )
computes the best approximating parabola from the accumulated points;

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