Angle Angle::operator/(const Angle &right) const { double val = right.as(m_unit); if(Math::isZero(val)) { throw arkhe::base::Exception("division by zero"); } return Angle(m_angle / val,m_unit); }
void CircleNodeEditor::setBearing( const Angle& bearing ) { _bearing = bearing.as(Units::RADIANS); updateDraggers(); }
Angle Angle::operator*(const Angle &right) const { return Angle(m_angle * right.as(m_unit),m_unit); }
bool Angle::operator>=(const Angle &right) const { return m_angle >= right.as(m_unit); }
bool Angle::operator!=(const Angle &right) const { return !Math::equal(m_angle,right.as(m_unit)); }