// Windows Runtime Component does not allow operator overloads: https://msdn.microsoft.com/en-us/library/br230301.aspx
#if !WINDOWS_UWP
        public static Speed operator /(KinematicViscosity kinematicViscosity, Length length)
        {
            return(Speed.FromMetersPerSecond(kinematicViscosity.SquareMetersPerSecond / length.Meters));
        }
示例#2
0
 public static Speed operator /(Length length, Duration duration)
 {
     return(Speed.FromMetersPerSecond(length.Meters / duration.Seconds));
 }
 /// <summary>Get <see cref="Speed"/> from <see cref="VolumeFlow"/> divided by <see cref="Area"/>.</summary>
 public static Speed operator /(VolumeFlow volumeFlow, Area area)
 {
     return(Speed.FromMetersPerSecond(volumeFlow.CubicMetersPerSecond / area.SquareMeters));
 }
示例#4
0
 public static Speed operator /(Length length, TimeSpan timeSpan)
 {
     return(Speed.FromMetersPerSecond(length.Meters / timeSpan.TotalSeconds));
 }