|
BrainTrain
|
struct holding the function, which calculates the radius in dependece of the height. lambda (double)->double func, int end, BodyOfRotationFunction* nextFunc if one wish to have more then one function then the end value and nextFunc pointer must be set accordingly the end+1 is the beginning x of the next function More...
#include <UtilFunctions.h>
Public Member Functions | |
| double | derivation (double x) const |
Public Attributes | |
| std::function< double(double)> | func |
| the function More... | |
| double | end |
| the end value of the function, should be less or equal createBodyOfRotation::height More... | |
| const BodyOfRotationFunction * | nextFunc |
| if end is less then createBodyOfRotation::height, must point towards the next function which shall be used from end More... | |
struct holding the function, which calculates the radius in dependece of the height. lambda (double)->double func, int end, BodyOfRotationFunction* nextFunc if one wish to have more then one function then the end value and nextFunc pointer must be set accordingly the end+1 is the beginning x of the next function
Definition at line 40 of file UtilFunctions.h.
|
inline |
Definition at line 44 of file UtilFunctions.h.
| double brtr::BodyOfRotationFunction::end |
the end value of the function, should be less or equal createBodyOfRotation::height
Definition at line 42 of file UtilFunctions.h.
| std::function<double(double)> brtr::BodyOfRotationFunction::func |
the function
Definition at line 41 of file UtilFunctions.h.
| const BodyOfRotationFunction* brtr::BodyOfRotationFunction::nextFunc |
if end is less then createBodyOfRotation::height, must point towards the next function which shall be used from end
Definition at line 43 of file UtilFunctions.h.