Click or drag to resize

Mathd Class

Gives some common methods for handling dobule values in the game.
Inheritance Hierarchy
SystemObject
  KSPDev.MathUtilsMathd

Namespace:  KSPDev.MathUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static class Mathd
Request Example View Source

The Mathd type exposes the following members.

Methods
  NameDescription
Public methodStatic memberApproximately
Tells if the two double values look the same in the geme's units.
Public methodStatic memberAreSame
Tells if the two double are the same, allowing some small error.
Top
Fields
  NameDescription
Public fieldStatic memberEpsilon
Value which can be safely considered to be 0.
Top
See Also