Simbody
Classes | Public Member Functions

SimTK::Measure_< T >::Sinusoid Class Reference

This measure produces a sinusoidal function of time: More...

#include <Measure.h>

Inheritance diagram for SimTK::Measure_< T >::Sinusoid:

List of all members.

Classes

class  Implementation

Public Member Functions

 SimTK_MEASURE_HANDLE_PREAMBLE (Sinusoid, Measure_< T >)
 Sinusoid (Subsystem &sub, const T &amplitude, const T &frequency, const T &phase=T(0))
 SimTK_MEASURE_HANDLE_POSTSCRIPT (Sinusoid, Measure_< T >)

Detailed Description

template<class T>
class SimTK::Measure_< T >::Sinusoid

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.


Constructor & Destructor Documentation

template<class T>
SimTK::Measure_< T >::Sinusoid::Sinusoid ( Subsystem sub,
const T &  amplitude,
const T &  frequency,
const T &  phase = T(0) 
) [inline]

Member Function Documentation

template<class T>
SimTK::Measure_< T >::Sinusoid::SimTK_MEASURE_HANDLE_PREAMBLE ( Sinusoid  ,
Measure_< T >   
)
template<class T>
SimTK::Measure_< T >::Sinusoid::SimTK_MEASURE_HANDLE_POSTSCRIPT ( Sinusoid  ,
Measure_< T >   
)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines