/// <summary> /// Divides <paramref name="left"/> by <paramref name="right"/> /// </summary> /// <param name="left">The left value</param> /// <param name="right">The right value</param> /// <returns>The <see cref="Angle"/> that is the result from the division.</returns> public static Angle operator /(Energy left, Torque right) { return(Angle.FromRadians(left.joules / right.newtonMetres)); }
/// <summary> /// Divides <paramref name="left"/> by <paramref name="right"/> /// </summary> /// <param name="left">The left value</param> /// <param name="right">The right value</param> /// <returns>The <see cref="Angle"/> that is the result from the division.</returns> public static Angle operator /(AngularSpeed left, Frequency right) { return(Angle.FromRadians(left.radiansPerSecond / right.hertz)); }
public static Angle operator *(AnglePerUnitless left, Unitless right) { return(Angle.FromRadians(left.radiansPerUnitless * right.scalar)); }
/// <summary> /// Multiplies <paramref name="left"/> with <paramref name="right"/> /// </summary> /// <param name="left">The left value</param> /// <param name="right">The right value</param> /// <returns>The <see cref="Angle"/> that is the result from the multiplication.</returns> public static Angle operator *(AngularSpeed left, Time right) { return(Angle.FromRadians(left.radiansPerSecond * right.seconds)); }
/// <summary> /// Multiplies <paramref name="left"/> with <paramref name="right"/> /// </summary> /// <param name="left">The left value</param> /// <param name="right">The right value</param> /// <returns>The <see cref="Angle"/> that is the result from the multiplication.</returns> public static Angle operator *(Time left, AngularSpeed right) { return(Angle.FromRadians(left.seconds * right.radiansPerSecond)); }