예제 #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));
 }