Simbody
|
This measure produces a sinusoidal function of time: More...
#include <Measure.h>
Classes | |
class | Implementation |
Public Member Functions | |
SimTK_MEASURE_HANDLE_PREAMBLE (Sinusoid, Measure_< T >) | |
Sinusoid (Subsystem &sub, const T &litude, const T &frequency, const T &phase=T(0)) | |
SimTK_MEASURE_HANDLE_POSTSCRIPT (Sinusoid, Measure_< T >) |
This measure produces a sinusoidal function of time:
m(t) = a*sin(w*t+p)
where a=amplitude in arbitrary units, w=frequency in rad/unit time, p=phase in rad.
SimTK::Measure_< T >::Sinusoid::Sinusoid | ( | Subsystem & | sub, |
const T & | amplitude, | ||
const T & | frequency, | ||
const T & | phase = T(0) |
||
) | [inline] |
SimTK::Measure_< T >::Sinusoid::SimTK_MEASURE_HANDLE_PREAMBLE | ( | Sinusoid | , |
Measure_< T > | |||
) |
SimTK::Measure_< T >::Sinusoid::SimTK_MEASURE_HANDLE_POSTSCRIPT | ( | Sinusoid | , |
Measure_< T > | |||
) |