|
Lamp-Da 0.1
A compact lantern project
|
Given a set of points, will fit multiple linear segments to it. More...
#include <curves.h>
Public Types | |
| using | point_t = Point< T, U > |
| point in the linear curve | |
Public Member Functions | |
| LinearCurve (const std::vector< point_t > &points) | |
| Build a curve from a set of points. | |
| U | sample (const T x) const |
| Sample a point Y from a given x. | |
Given a set of points, will fit multiple linear segments to it.
| [in] | T | Type of X coordinates |
| [in] | U | type of Y coordinates |