Exemple #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="Volume"/> that is the result from the division.</returns>
 public static Volume operator /(Energy left, Pressure right)
 {
     return(Volume.FromCubicMetres(left.joules / right.pascals));
 }
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="Volume"/> that is the result from the division.</returns>
 public static Volume operator /(Mass left, Density right)
 {
     return(Volume.FromCubicMetres(left.kilograms / right.kilogramsPerCubicMetre));
 }
Exemple #3
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="Volume"/> that is the result from the multiplication.</returns>
 public static Volume operator *(Mass left, SpecificVolume right)
 {
     return(Volume.FromCubicMetres(left.kilograms * right.cubicMetresPerKilogram));
 }
 public static Volume operator /(Area left, Wavenumber right)
 {
     return(Volume.FromCubicMetres(left.squareMetres / right.reciprocalMetres));
 }
 public static Volume operator *(Area left, Length right)
 {
     return(Volume.FromCubicMetres(left.squareMetres * right.metres));
 }
Exemple #6
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="Volume"/> that is the result from the multiplication.</returns>
 public static Volume operator *(Time left, VolumetricFlow right)
 {
     return(Volume.FromCubicMetres(left.seconds * right.cubicMetresPerSecond));
 }
Exemple #7
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="Volume"/> that is the result from the division.</returns>
 public static Volume operator /(VolumetricFlow left, Frequency right)
 {
     return(Volume.FromCubicMetres(left.cubicMetresPerSecond / right.hertz));
 }
 public static Volume operator *(SpecificVolume left, Mass right)
 {
     return(Volume.FromCubicMetres(left.cubicMetresPerKilogram * right.kilograms));
 }