MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstParabolaf Class Reference
Inheritance diagram for mrmeshpy.ConstParabolaf:

Public Member Functions

float __call__ (self, float x)
 __init__ (self, *args, **kwargs)
float extremArg (self)
float extremVal (self)
float a (self)
float b (self)
float c (self)

Static Protected Attributes

typing _offsetof_a = 0
typing _offsetof_b = 4
typing _offsetof_c = 8

Detailed Description

Generated from:  MR::Parabolaf

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

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstParabolaf, a: float, b: float, c: float) -> None

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

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstParabolaf, : meshlib.mrmeshpy.ConstParabolaf) -> None

Member Function Documentation

◆ __call__()

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

◆ a()

float mrmeshpy.ConstParabolaf.a ( self)

◆ b()

float mrmeshpy.ConstParabolaf.b ( self)

◆ c()

float mrmeshpy.ConstParabolaf.c ( self)

◆ extremArg()

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

◆ extremVal()

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

Member Data Documentation

◆ _offsetof_a

typing mrmeshpy.ConstParabolaf._offsetof_a = 0
staticprotected

◆ _offsetof_b

typing mrmeshpy.ConstParabolaf._offsetof_b = 4
staticprotected

◆ _offsetof_c

typing mrmeshpy.ConstParabolaf._offsetof_c = 8
staticprotected

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