Class MEAL::CyclicParameter
-
class CyclicParameter : public MEAL::OneParameter
A periodic parameter with bounds.
By default, the period is \(2\pi\), the lower bound is \(-\pi\) and the upper bound is \(\pi\).
Public Functions
-
CyclicParameter(const CyclicParameter &np)
Copy constructor.
-
CyclicParameter(const OneParameter &np)
Copy constructor.
-
CyclicParameter &operator=(const CyclicParameter &np)
Assignment operator.
-
virtual CyclicParameter *clone(Function *context) const
Clone operator.
-
void set_lower_bound(double bound)
Set the lower bound on the parameter value.
-
void set_upper_bound(double bound)
Set the upper bound on the parameter value.
-
void set_period(double period)
Set the period of the parameter value.
-
void set_azimuth(CyclicParameter *azimuth)
Set the matching azimuth and behave like an elevation.
-
virtual void set_param(double value)
Set the value of the parameter.
-
virtual double get_param() const
Get the value of the parameter.
-
CyclicParameter(const CyclicParameter &np)