Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Properties | List of all members
Expansions.Missions.MissionOrbit Class Reference
Inheritance diagram for Expansions.Missions.MissionOrbit:
OrbitSnapshot

Public Member Functions

override bool Equals (object obj)
 
override int GetHashCode ()
 
string GetNodeBodyParameterString ()
 Returns the string to be displayed when the parameter is displayed in the node body More...
 
void Load (ConfigNode node)
 Restore the orbit from a config node More...
 
 MissionOrbit (CelestialBody bodyRef)
 Creates an instance of the MissionOrbit class using a celestial body as reference to create a default orbit More...
 
 MissionOrbit (Orbit orbit)
 Creates an instance of the MissionOrbit class using another orbit as reference to copy the values More...
 
 MissionOrbit (ConfigNode node)
 Creates an instance of the MissionOrbit class using an orbit snapshot to copy the values More...
 
Orbit RelativeOrbit (Mission mission)
 Returns the orbit adjusted to the rotation of the planet to match the one created in the editor. More...
 
void Reset ()
 Reset the orbit values More...
 
override void Save (ConfigNode node)
 
List< MEGUIDropDownItemSetCelestialBodies ()
 Populates the dropdown list on the SAP with the celestial body options More...
 
- Public Member Functions inherited from OrbitSnapshot
Orbit Load ()
 
 OrbitSnapshot (Orbit orbitRef)
 
 OrbitSnapshot (CelestialBody bodyRef)
 
 OrbitSnapshot (ConfigNode node)
 

Static Public Member Functions

static double GetEditorMaxOrbitRadius (CelestialBody body)
 

Properties

double Apoapsis [get, set]
 The value to compare with the Apoapsis of the vessel's orbit (ApA - above ground value) More...
 
double ArgumentOfPeriapsis [get, set]
 The value to compare with the Argument of Periapsis of the vessel's orbit More...
 
CelestialBody Body [get, set]
 Name of the Celestial body the orbit is around More...
 
double Eccentricity [get, set]
 The value to compare with the eccentricity of the vessel's orbit More...
 
double Epoch [get, set]
 The value to compare with the Epoch of the vessel's orbit More...
 
double Inclination [get, set]
 The value to compare with inclination of the vessel's orbit More...
 
double Lan [get, set]
 The value to compare with the Longutude of Ascending Node of the vessel's orbit More...
 
double MeanAnomalyAtEpoch [get, set]
 The value to compare with the Mean anomaly at epoch of the vessel's orbit/ More...
 
Orbit Orbit [get, set]
 The Orbit Parameters More...
 
double Periapsis [get, set]
 The value to compare with the Periapsis of the vessel's orbit (PeA - above ground value) More...
 
double SemiMajorAxis [get, set]
 The value to compare with semi major axis of the vessel's orbit More...
 

Additional Inherited Members

- Public Attributes inherited from OrbitSnapshot
double argOfPeriapsis
 
double eccentricity
 
double epoch
 
double inclination
 
double LAN
 
double meanAnomalyAtEpoch
 
int ReferenceBodyIndex
 
double semiMajorAxis
 

Constructor & Destructor Documentation

Expansions.Missions.MissionOrbit.MissionOrbit ( CelestialBody  bodyRef)
inline

Creates an instance of the MissionOrbit class using a celestial body as reference to create a default orbit

Parameters
bodyRefReference celestial body
Expansions.Missions.MissionOrbit.MissionOrbit ( Orbit  orbit)
inline

Creates an instance of the MissionOrbit class using another orbit as reference to copy the values

Parameters
orbitReference orbit
Expansions.Missions.MissionOrbit.MissionOrbit ( ConfigNode  node)
inline

Creates an instance of the MissionOrbit class using an orbit snapshot to copy the values

Parameters
nodeOrbit snap shot config node

Member Function Documentation

override bool Expansions.Missions.MissionOrbit.Equals ( object  obj)
inline
static double Expansions.Missions.MissionOrbit.GetEditorMaxOrbitRadius ( CelestialBody  body)
inlinestatic
override int Expansions.Missions.MissionOrbit.GetHashCode ( )
inline
string Expansions.Missions.MissionOrbit.GetNodeBodyParameterString ( )
inline

Returns the string to be displayed when the parameter is displayed in the node body

Returns
String to be displayed when the parameter is displayed in the node body,
void Expansions.Missions.MissionOrbit.Load ( ConfigNode  node)
inline

Restore the orbit from a config node

Parameters
node
Orbit Expansions.Missions.MissionOrbit.RelativeOrbit ( Mission  mission)
inline

Returns the orbit adjusted to the rotation of the planet to match the one created in the editor.

void Expansions.Missions.MissionOrbit.Reset ( )
inline

Reset the orbit values

override void Expansions.Missions.MissionOrbit.Save ( ConfigNode  node)
inlinevirtual

Reimplemented from OrbitSnapshot.

List<MEGUIDropDownItem> Expansions.Missions.MissionOrbit.SetCelestialBodies ( )
inline

Populates the dropdown list on the SAP with the celestial body options

Returns

Property Documentation

double Expansions.Missions.MissionOrbit.Apoapsis
getset

The value to compare with the Apoapsis of the vessel's orbit (ApA - above ground value)

double Expansions.Missions.MissionOrbit.ArgumentOfPeriapsis
getset

The value to compare with the Argument of Periapsis of the vessel's orbit

CelestialBody Expansions.Missions.MissionOrbit.Body
getset

Name of the Celestial body the orbit is around

double Expansions.Missions.MissionOrbit.Eccentricity
getset

The value to compare with the eccentricity of the vessel's orbit

double Expansions.Missions.MissionOrbit.Epoch
getset

The value to compare with the Epoch of the vessel's orbit

double Expansions.Missions.MissionOrbit.Inclination
getset

The value to compare with inclination of the vessel's orbit

double Expansions.Missions.MissionOrbit.Lan
getset

The value to compare with the Longutude of Ascending Node of the vessel's orbit

double Expansions.Missions.MissionOrbit.MeanAnomalyAtEpoch
getset

The value to compare with the Mean anomaly at epoch of the vessel's orbit/

Orbit Expansions.Missions.MissionOrbit.Orbit
getset

The Orbit Parameters

double Expansions.Missions.MissionOrbit.Periapsis
getset

The value to compare with the Periapsis of the vessel's orbit (PeA - above ground value)

double Expansions.Missions.MissionOrbit.SemiMajorAxis
getset

The value to compare with semi major axis of the vessel's orbit


The documentation for this class was generated from the following file: