C# Class MissionController.MathTools

显示文件 Open project: pweingardt/KSPMissionController Class Usage Examples

Public Methods

Method Description
calculateLongitude ( double value ) : double
formatTime ( double seconds ) : String
inMinMax ( double min, double max, double value ) : bool
inRange ( double r, double precision, double value ) : bool
max ( double v, double precision ) : double
min ( double v, double precision ) : double

Method Details

calculateLongitude() public static method

public static calculateLongitude ( double value ) : double
value double
return double

formatTime() public static method

public static formatTime ( double seconds ) : String
seconds double
return String

inMinMax() public static method

public static inMinMax ( double min, double max, double value ) : bool
min double
max double
value double
return bool

inRange() public static method

public static inRange ( double r, double precision, double value ) : bool
r double
precision double
value double
return bool

max() public static method

public static max ( double v, double precision ) : double
v double
precision double
return double

min() public static method

public static min ( double v, double precision ) : double
v double
precision double
return double