Curve¶
A Curve that describes the variation of a value (on the Y-axis) according to another (on the X-axis).
Public Functions¶
| Type | Name |
|---|---|
| Curve () Creates an empty Curve . | |
| AmReal32 | Get (AmReal64 x) const Get the curve value corresponding to the given X value. |
| void | Initialize (const CurveDefinition * definition) Initializes curve parts from the given definition. |
| void | Initialize (const std::vector< CurvePart > & parts) Initializes curve parts from the given vector. |
Public Functions Documentation¶
Get
Get the curve value corresponding to the given X value.
Parameters:
-
xThe X value.
Returns:
The curve value.
Initialize[1/2]
Initializes curve parts from the given definition.
Parameters:
-
definitionThe curve definition data.
Initialize[2/2]
Initializes curve parts from the given vector.
Parameters:
-
partsThe vector of curve parts.
The documentation for this class was generated from the following file: include/SparkyStudios/Audio/Amplitude/Math/Curve.h