예제 #1
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));
 }
예제 #2
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 /(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));
 }
예제 #4
0
 /// <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));
 }
예제 #5
0
 /// <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));
 }