C# Class GravityTurn.CelestialBodyExtensions

显示文件 Open project: johnfink8/GravityTurn

Public Methods

Method Description
DragLength ( this body, UnityEngine.Vector3d pos, double dragCoeff, double mass ) : double
DragLength ( this body, double altitudeASL, double dragCoeff, double mass ) : double
RealMaxAtmosphereAltitude ( this body ) : double
TerrainAltitude ( this body, UnityEngine.Vector3d worldPosition ) : double
TerrainAltitude ( this body, double latitude, double longitude ) : double

Method Details

DragLength() public static method

public static DragLength ( this body, UnityEngine.Vector3d pos, double dragCoeff, double mass ) : double
body this
pos UnityEngine.Vector3d
dragCoeff double
mass double
return double

DragLength() public static method

public static DragLength ( this body, double altitudeASL, double dragCoeff, double mass ) : double
body this
altitudeASL double
dragCoeff double
mass double
return double

RealMaxAtmosphereAltitude() public static method

public static RealMaxAtmosphereAltitude ( this body ) : double
body this
return double

TerrainAltitude() public static method

public static TerrainAltitude ( this body, UnityEngine.Vector3d worldPosition ) : double
body this
worldPosition UnityEngine.Vector3d
return double

TerrainAltitude() public static method

public static TerrainAltitude ( this body, double latitude, double longitude ) : double
body this
latitude double
longitude double
return double