API:Orbit

From Kerbal Space Program Wiki
Revision as of 22:57, 6 January 2013 by BenjaminK (talk | contribs) (Created page with " {{PropertiesStart}} {{Property |type=double |name=ApA |hasget=1 }} {{Property |type=double |name=ApR |hasget=1 }} {{Property |type=double |name=PeA |hasget=1 }} {{Property|ty...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Properties

The following are public properties available in Orbit.

Signature Description
double ApA { get; } ?
double ApR { get; } ?
double PeA { get; } ?
double PeR { get; } ?
double semiLatusRectum { get; } ?
double semiMinorAxis { get; } ?

Fields

The following is a list of publically-accessible fields in Orbit. This includes protected items, which can be accessed by subclasses.

Signature Description
bool activePatch ?
double altitude ?
Vector3d an ?
double argumentOfPeriapsis ?
double ClAppr ?
double ClEctr1 ?
double ClEctr2 ?
CelestialBody closestEncounterBody ?
EncounterSolutionLevel closestEncounterLevel ?
Orbit closestEncounterPath ?
double closestTgtApprUT ?
double crAppr ?
bool debug_returnFullEllipseTrajectory ?
Vector3 debugAN ?
Vector3 debugEccVec ?
Vector3 debugH ?
Vector3 debugPos ?
Vector3 debugVel ?
double E ?
double eccentricAnomaly ?
double eccentricity ?
Vector3d eccVec ?
double EndUT ?
double epoch ?
double FEVp ?
double FEVs ?
double fromE ?
double fromV ?
Vector3d h ?
double inclination ?
double LAN ?
double mag ?
double meanAnomaly ?
double meanAnomalyAtEpoch ?
double nearestTT Obsolete, Use VesselType or CelestialBodyType instead.
double ObT ?
double ObTAtEpoch ?
double orbitalEnergy ?
double orbitalSpeed ?
double orbitalPercent ?
PatchTransitionType patchEndTransition ?
PatchTransitionType patchStartTransition ?
double period ?
Vector3d pos ?
Orbit previousPatch ?
double radius ?
CelestialBody referenceBody ?
double sampleInterval ?
Vector3d secondaryPosAtTransition1 ?
Vector3d secondaryPosAtTransition2 ?
double semiMajorAxis ?
double SEVp ?
double SEVs ?
double StartUT ?
double timeToAp ?
double timeToPe ?
double timeToTransition1 ?
double timeToTransition2 ?
double toE ?
double toV ?
double trueAnomaly ?
double UTappr ?
double UTsoi ?
double V ?
Vector3d vel ?

Methods

The following are methods included in Orbit.

Signature Description
static Orbit() ?
public Orbit(double inc,double e,double sma,double lan,double w,double mEp,double t,CelestialBody body) ?
void DrawOrbit() ?
static void FindClosestPoints(Orbit p,Orbit s,ref double CD,ref double CCD ,ref double FFp,ref double FFs,ref double SFp,ref double SFs ,double epsilon,int maxIterations,ref int iterationCount) ?
Vector3d GetANVector() ?
double GetDTforTrueAnomaly(double tA,double wrapAfterSeconds) ?
double GetEccentricAnomaly(double tA) ?
Vector3d GetEccVector() ?
Vector3d GetFrameVel() ?
Vector3d GetFrameVelAtUT(double UT) ?
double GetMeanAnomaly(double E,double tA) ?
double getObTAtMeanAnomaly(double M) ?
double getObtAtUT(double UT) ?
double getOrbitalSpeedAt(double time) ?
double getOrbitalSpeedAtDistance(double d) ?
double getOrbitalSpeedAtPos(Vector3d pos) ?
double getOrbitalSpeedAtRelativePos(Vector3d relPos) ?
Vector3d getOrbitalVelocityAtObT(double ObT) ?
Vector3d getOrbitalVelocityAtUT(double UT) ?
() ?
() ?
() ?
() ?
() ?
() ?
() ?

Enumerations

public enum EncounterSolutionLevel {

NONE,
ESCAPE,
ORBIT_INTERSECT,
SOI_INTERSECT_2,
SOI_INTERSECT_1

}

public enum ObjectType {

VESSEL,
SPACE_DEBRIS,
CELESTIAL_BODIES,
UNKOWN_MISC,
KERBAL

}

public enum PatchTransitionType{

INITIAL,
FINAL,
ENCOUNTER,
ESCAPE,
MANEUVER

}