#include <fcurve.h>
Public Member Functions | |
FComplex ()=default | |
FComplex (const T &t, const V &value) | |
FComplex | operator+ (const FComplex &other) const |
FComplex | operator- (const FComplex &other) const |
FComplex | operator* (const T &other) const |
Public Attributes | |
T | mTime |
Time mapped to the x axis. More... | |
V | mValue |
Value mapped to the y axis. More... | |
A time/value pair to be used in function curves. This is not a regular 2D vector because the components may have different types.
T | type of the time parameter |
V | type of the value parameter |
|
default |
Cfreate a time/value pair with time at 0 and default values for V
FComplex | ( | const T & | t, |
const V & | value | ||
) |
Create a time/value pair
t | the time |
value | the value |
FComplex operator* | ( | const T & | other | ) | const |
T mTime |
Time mapped to the x axis.
V mValue |
Value mapped to the y axis.