public static Angle operator *(AngularSpeed left, Time right)
 {
     return(Angle.FromRadians(left.radiansPerSecond * right.seconds));
 }
 public static Angle operator *(double left, AngleUnit right)
 {
     return(Angle.From(left, right));
 }
Exemple #3
0
 /// <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));
 }