Exemple #1
0
 public static Unitless operator /(Force left, ForcePerUnitless right)
 {
     return(Unitless.FromScalar(left.newtons / right.newtonsPerUnitless));
 }
Exemple #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="Unitless"/> that is the result from the division.</returns>
 public static Unitless operator /(Angle left, AnglePerUnitless right)
 {
     return(Unitless.FromScalar(left.radians / right.radiansPerUnitless));
 }
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="Unitless"/> that is the result from the division.</returns>
 public static Unitless operator /(Length left, LengthPerUnitless right)
 {
     return(Unitless.FromScalar(left.metres / right.metresPerUnitless));
 }