1 #define BIORBD_API_EXPORTS
2 #include "Utils/Range.h"
7 m_min(std::make_shared<double>(min)),
8 m_max(std::make_shared<double>(max))
24 *m_min = *other.
m_min;
25 *m_max = *other.
m_max;
std::shared_ptr< double > m_max
The maximal value allowed by the range.
Range(double min=-M_PI, double max=M_PI)
Construct generalized coordinates range.
double min() const
Return the minimum value.
double max() const
Return the maximum value.
void setMax(double max)
Set a new value for the maximal.
void setMin(double min)
Set a new value for the minimum.
biorbd::utils::Range DeepCopy() const
Deep copy of the Range.
std::shared_ptr< double > m_min
The minimal value allowed by the range.