C# Class Engineer.Tools

Afficher le fichier Open project: CYBUTEK/Engineer

Méthodes publiques

Méthode Description
FormatNumber ( double number, int decimals = -1 ) : string
FormatNumber ( double number, string postfix, int decimals = -1 ) : string
FormatSI ( double number, SIUnitType type ) : string
FormatTime ( double seconds ) : string
GetSlopeAngleAndHeading ( Vessel vessel, string &result ) : void

Private Methods

Méthode Description
ToDistance ( double value, bool showNotation = true ) : string

Method Details

FormatNumber() public static méthode

public static FormatNumber ( double number, int decimals = -1 ) : string
number double
decimals int
Résultat string

FormatNumber() public static méthode

public static FormatNumber ( double number, string postfix, int decimals = -1 ) : string
number double
postfix string
decimals int
Résultat string

FormatSI() public static méthode

public static FormatSI ( double number, SIUnitType type ) : string
number double
type SIUnitType
Résultat string

FormatTime() public static méthode

public static FormatTime ( double seconds ) : string
seconds double
Résultat string

GetSlopeAngleAndHeading() public static méthode

public static GetSlopeAngleAndHeading ( Vessel vessel, string &result ) : void
vessel Vessel
result string
Résultat void