Differences
This shows you the differences between two versions of the page.
— |
ref:piece_wise_linear_function [2020/06/19 15:47] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== PieceWiseLinearFunction ====== | ||
+ | Parameterizable piece-wise linear function. | ||
+ | |||
+ | **Inherits from** [[function|Function]]. | ||
+ | |||
+ | ==== Public Attributes ==== | ||
+ | ^ Parameter ^ Type ^ Description ^ | ||
+ | ^ control_points | size_t | Number of control points in this function. | | ||
+ | ^ control_point_y | const PropNode & | Parameter for the y value of each control point. | | ||
+ | ^ control_point_dt | const PropNode & | Parameter for the dt (delta time [s] from previous point) value of each control point. | | ||
+ | ^ flat_extrapolation | bool | Flag indicating if value should stay flat after passing the last control point; default = false. | | ||
+ | |||
+ | <sub>Converted from doxygen using [[https://github.com/tgeijten/dokugen|dokugen]]</sub> | ||