Definition MRCameraOrientationPlugin.h:8
Represents quadratic function f(x) = a*x*x + b*x + c.
Definition MRParabola.h:11
constexpr Parabola() noexcept=default
constexpr T extremVal() const
value (y) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0
Definition MRParabola.h:28
T a
Definition MRParabola.h:12
constexpr T extremArg() const
argument (x) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0
Definition MRParabola.h:25
constexpr Parabola(const Parabola< U > &p)
Definition MRParabola.h:19
constexpr T operator()(T x) const
compute value of quadratic function at any x
Definition MRParabola.h:22
T c
Definition MRParabola.h:14
T b
Definition MRParabola.h:13