Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Orbit.cs #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion src/Orbit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ public class Orbit
/// The angle between the ascending node and the periapsis, in degrees.
/// </summary>
public double argumentOfPeriapsis;
/// <summary>
/// Closest approach distance, in meters.
/// </summary>
public double ClAppr;
public double ClEctr1;
public double ClEctr2;
Expand Down Expand Up @@ -102,7 +105,13 @@ public class Orbit
/// A special UT at which the parameters of the Orbit are defined. See meanAnomalyAtEpoch.
/// </summary>
public double epoch;
/// <summary>
/// The true anomaly of the first encounter from the prior orbit. This is the true anomoly on the prior orbit as you just reach the SOI for the encountered body.
/// </summary>
public double FEVp;
/// <summary>
/// The true anomaly of the first encounter after the second orbit. This is the true anomoly on the second orbit as you just leave the SOI for the encountered body.
/// </summary>
public double FEVs;
public double fromE;
public double fromV;
Expand Down Expand Up @@ -175,22 +184,31 @@ public class Orbit
/// The semi-major axis of the orbit, in meters. Equal to (PeR + ApR)/2
/// </summary>
public double semiMajorAxis;
/// <summary>
/// The true anomaly of the second encounter from the prior orbit. This is the true anomoly on the prior orbit as you just reach the SOI for the encountered body at the second encoutner.
/// </summary>
public double SEVp;
/// <summary>
/// The true anomaly of the second encounter after the second orbit. This is the true anomoly on the second orbit as you just leave the SOI for the encountered body after the seoncd encounter.
/// </summary>
public double SEVs;
public double StartUT;
/// <summary>
/// The time until the object will reach apoapsis, in seconds.
/// </summary>
public double timeToAp;
/// <summary>
/// The time unti lthe object will reach periapsis, in seconds.
/// The time until the object will reach periapsis, in seconds.
/// </summary>
public double timeToPe;
public double timeToTransition1;
public double timeToTransition2;
public double toE;
public double toV;
public double trueAnomaly;
/// <summary>
/// The universal time at the next closest approach, in seconds.
/// </summary>
public double UTappr;
public double UTsoi;
public double V;
Expand Down