예제 #1
0
 /// <summary>Get <see cref="Area"/> from <see cref="Length"/> times <see cref="Length"/>.</summary>
 public static Area operator *(Length length1, Length length2)
 {
     return(Area.FromSquareMeters(length1.Meters * length2.Meters));
 }
예제 #2
0
 public static Area operator *(Duration duration, KinematicViscosity kinematicViscosity)
 {
     return(Area.FromSquareMeters(kinematicViscosity.SquareMetersPerSecond * duration.Seconds));
 }
예제 #3
0
 public static Area operator /(VolumeFlow volumeFlow, Speed speed)
 {
     return(Area.FromSquareMeters(volumeFlow.CubicMetersPerSecond / speed.MetersPerSecond));
 }
예제 #4
0
 public static Area operator *(TimeSpan timeSpan, KinematicViscosity kinematicViscosity)
 {
     return(Area.FromSquareMeters(kinematicViscosity.SquareMetersPerSecond * timeSpan.TotalSeconds));
 }
예제 #5
0
 /// <summary>Get <see cref="Area"/> from <see cref="Volume"/> divided by <see cref="Length"/>.</summary>
 public static Area operator /(Volume volume, Length length)
 {
     return(Area.FromSquareMeters(volume.CubicMeters / length.Meters));
 }
예제 #6
0
 public static Area operator /(MassFlow massFlow, MassFlux massFlux)
 {
     return(Area.FromSquareMeters(massFlow.KilogramsPerSecond / massFlux.KilogramsPerSecondPerSquareMeter));
 }
예제 #7
0
 /// <summary>Get <see cref="Area"/> from <see cref="Power"/> divided by <see cref="HeatFlux"/>.</summary>
 public static Area operator /(Power power, HeatFlux heatFlux)
 {
     return(Area.FromSquareMeters(power.Watts / heatFlux.WattsPerSquareMeter));
 }
예제 #8
0
 /// <summary>Get <see cref="Area"/> from <see cref="KinematicViscosity"/> times <see cref="TimeSpan"/>.</summary>
 public static Area operator *(KinematicViscosity kinematicViscosity, TimeSpan timeSpan)
 {
     return(Area.FromSquareMeters(kinematicViscosity.SquareMetersPerSecond * (decimal)timeSpan.TotalSeconds));
 }