|
Simbody
3.4 (development)
|
This Measure multiplies some other Measure by a Real scale factor. More...
#include <Measure.h>
Inheritance diagram for SimTK::Measure_< T >::Scale:Classes | |
| class | Implementation |
Public Member Functions | |
| SimTK_MEASURE_HANDLE_PREAMBLE (Scale, Measure_< T >) | |
| Scale (Subsystem &sub, Real factor, const Measure_< T > &operand) | |
| const Measure_< T > & | getOperandMeasure () const |
| Get the operand (thing being scaled) measure for this measure. | |
| SimTK_MEASURE_HANDLE_POSTSCRIPT (Scale, Measure_< T >) | |
This Measure multiplies some other Measure by a Real scale factor.
| T | Any type that supports a scalar multiply, with the scalar on the left, that returns the product as another object of type T. In particular, Real, Vec<N>, and Vector will work. |
| SimTK::Measure_< T >::Scale::Scale | ( | Subsystem & | sub, |
| Real | factor, | ||
| const Measure_< T > & | operand | ||
| ) | [inline] |
| SimTK::Measure_< T >::Scale::SimTK_MEASURE_HANDLE_PREAMBLE | ( | Scale | , |
| Measure_< T > | |||
| ) |
| const Measure_<T>& SimTK::Measure_< T >::Scale::getOperandMeasure | ( | ) | const [inline] |
Get the operand (thing being scaled) measure for this measure.
| SimTK::Measure_< T >::Scale::SimTK_MEASURE_HANDLE_POSTSCRIPT | ( | Scale | , |
| Measure_< T > | |||
| ) |