Пример #1
0
 /// <summary>Get <see cref="ForcePerLength"/> from <see cref="Force"/> times <see cref="ReciprocalLength"/>.</summary>
 public static ForcePerLength operator *(Force force, ReciprocalLength reciprocalLength)
 {
     return(ForcePerLength.FromNewtonsPerMeter(force.Newtons * reciprocalLength.InverseMeters));
 }
Пример #2
0
 /// <summary>Get <see cref="ForcePerLength"/> from <see cref="Force"/> divided by <see cref="Length"/>.</summary>
 public static ForcePerLength operator /(Force force, Length length)
 {
     return(ForcePerLength.FromNewtonsPerMeter(force.Newtons / length.Meters));
 }
Пример #3
0
 /// <summary>Get <see cref="ForcePerLength"/> from <see cref="ReciprocalLength"/> times <see cref="Force"/>.</summary>
 public static ForcePerLength operator *(ReciprocalLength reciprocalLength, Force force)
 {
     return(ForcePerLength.FromNewtonsPerMeter(reciprocalLength.InverseMeters * force.Newtons));
 }