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

Public Member Functions

float __call__ (self, float x)
 
None __init__ (self)
 
None __init__ (self, float a, float b, float c)
 
float extremArg (self)
 
float extremVal (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Parabolad operator (*args, **kwargs)
 
Parabolad operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_a = 0
 
typing _offsetof_b = 8
 
typing _offsetof_c = 16
 

Detailed Description

Generated from:  MR::Parabolad

Represents quadratic function f(x) = a*x*x + b*x + c

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.Parabolad.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.Parabolad.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.Parabolad.__init__ ( self,
float a,
float b,
float c )

Member Function Documentation

◆ __call__()

float mrmeshpy.Parabolad.__call__ ( self,
float x )
compute value of quadratic function at any x

◆ extremArg()

float mrmeshpy.Parabolad.extremArg ( self)
argument (x) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0

◆ extremVal()

float mrmeshpy.Parabolad.extremVal ( self)
value (y) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0

◆ operator() [1/2]

Parabolad mrmeshpy.Parabolad.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Parabolad mrmeshpy.Parabolad.operator ( * args,
** kwargs )
static

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.Parabolad._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.Parabolad._offsetof_b = 8
staticprotected

◆ _offsetof_c

typing mrmeshpy.Parabolad._offsetof_c = 16
staticprotected

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