DotNet.Ships.Interface.IMassCurve - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / IMassCurve

Interface: IMassCurve

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/IMassCurve.cs:18

The three masses and three multipliers one power-law mass curve passes through.

Remarks

A thruster's performance multiplier and a shield generator's strength multiplier are read off the same curve. Normalise the mass into the range from zero through one, between the maximum and the minimum mass. Raise it to the exponent that makes the curve pass through the optimal point. Then interpolate between the minimum and the maximum multiplier.

The masses must be in strict order, from the minimum through the optimum to the maximum, or all three equal for a constant curve. The multipliers follow the same rule. A curve whose masses are all equal must have equal multipliers, because three different multipliers at one mass is not a curve.

Properties

MaxMass

MaxMass: double

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/IMassCurve.cs:27

The mass beyond which the curve contributes nothing, in tonnes.

MaxMultiplier

MaxMultiplier: double

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/IMassCurve.cs:36

The multiplier at MinMass.

MinMass

MinMass: double

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/IMassCurve.cs:21

The mass at which performance reaches MaxMultiplier, in tonnes.

MinMultiplier

MinMultiplier: double

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/IMassCurve.cs:30

The multiplier at MaxMass.

OptMass

OptMass: double

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/IMassCurve.cs:24

The mass at which performance is exactly OptMultiplier, in tonnes.

OptMultiplier

OptMultiplier: double

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/IMassCurve.cs:33

The multiplier at OptMass.

⚠️ **GitHub.com Fallback** ⚠️