2 Commits

Author SHA1 Message Date
melekhin
998624177a Merge branch 'master' of https://lancool.qwertykez.fun/QWERTYkez/QWERTYkez.Mensura
All checks were successful
Publish NuGet packages / publish (push) Successful in 1m1s
2026-06-15 08:39:01 +07:00
melekhin
001b061016 Volumetric operator /(Linear left, Area right) 2026-06-15 08:38:57 +07:00

View File

@@ -70,6 +70,10 @@ public readonly partial record struct Area // MilliMetersSquared
internal static readonly double Coeff1 = Coefficients.MultiplyCoefficient(Area.MeterSquared, ForceLinear.NewtonPerMeter, Torque._Newton_Meter);
[MethodImpl(MethodImplOptions.NoInlining), OperatorsGenerator] public static Length operator /(Area left, Length right) => new(left._Value / right._Value);
[MethodImpl(MethodImplOptions.NoInlining), OperatorsGenerator] public static ForceVolumetric operator /(ForceLinear left, Area right) => new(left._Value / right._Value);
[MethodImpl(MethodImplOptions.NoInlining), OperatorsGenerator] public static Density operator /(MassLinear left, Area right) => new(left._Value / right._Value);
}
public readonly partial record struct Volume // MillimetersCubic