Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
Trajectory Class Reference

Public Member Functions

Vector3d ConvertPointToLerped (Vector3d point, double time, CelestialBody relativeFrom, CelestialBody relativeTo, double minUT, double escapeUT, double linearity)
 
Vector3d ConvertPointToLocal (Vector3d point)
 
Vector3d ConvertPointToLocalAtUT (Vector3d point, double atUT, CelestialBody relativeTo)
 
Vector3d ConvertPointToRelative (Vector3d point, double time, CelestialBody relativeTo)
 
Vector3d GetApoapsisLerped (CelestialBody relativeFrom, CelestialBody relativeTo, double minUT, double escapeUT, double linearity)
 
Vector3d GetApoapsisLocal ()
 
Vector3d GetApoapsisLocalAtUT (CelestialBody relativeTo, double atUT)
 
Vector3d GetApoapsisRelative (CelestialBody relativeTo)
 
void GetColors (Color baseColor, Color[] colors)
 
Vector3d GetPatchEndLerped (CelestialBody relativeFrom, CelestialBody relativeTo, double minUT, double escapeUT, double linearity)
 
Vector3d GetPatchEndLocal ()
 
Vector3d GetPatchEndLocalAtUT (CelestialBody relativeTo, double atUT)
 
Vector3d GetPatchEndRelative (CelestialBody relativeTo)
 
Vector3d GetPatchStartLerped (CelestialBody relativeFrom, CelestialBody relativeTo, double minUT, double escapeUT, double linearity)
 
Vector3d GetPatchStartLocal ()
 
Vector3d GetPatchStartLocalAtUT (CelestialBody relativeTo, double atUT)
 
Vector3d GetPatchStartRelative (CelestialBody relativeTo)
 
Vector3d GetPeriapsisLerped (CelestialBody relativeFrom, CelestialBody relativeTo, double minUT, double escapeUT, double linearity)
 
Vector3d GetPeriapsisLocal ()
 
Vector3d GetPeriapsisLocalAtUT (CelestialBody relativeTo, double atUT)
 
Vector3d GetPeriapsisRelative (CelestialBody relativeTo)
 
Vector3d[] GetPoints ()
 
void GetPointsLerped (Vector3d[] rPoints, CelestialBody relativeFrom, CelestialBody relativeTo, double minUT, double escapeUT, double linearity)
 
void GetPointsLocal (Vector3d[] rPoints)
 
void GetPointsLocalAtUT (Vector3d[] rPoints, CelestialBody relativeTo, double atUT)
 
void GetPointsRelative (Vector3d[] rPoints, CelestialBody relativeTo)
 
Vector3d GetRefBodyPosLerped (CelestialBody relativeFrom, CelestialBody relativeTo, double minUT, double escapeUT, double linearity)
 
Vector3d GetRefBodyPosLocal ()
 
Vector3d GetRefBodyPosLocalAtUT (CelestialBody relativeTo, double atUT)
 
Vector3d GetRefBodyPosRelative (CelestialBody relativeTo)
 
double[] GetTimes ()
 
Trajectory ReframeToLerped (CelestialBody relativeFrom, CelestialBody relativeTo, double minUT, double escapeUT, double linearity)
 
Trajectory ReframeToLocal ()
 
Trajectory ReframeToLocalAtUT (CelestialBody relativeTo, double atUT)
 
Trajectory ReframeToRelative (CelestialBody relativeTo)
 
void UpdateFromOrbit (Orbit orbit, int sampleCount)
 

Public Attributes

Orbit patch
 
CelestialBody referenceBody
 
double[] Vs
 

Properties

Vector3d[] TPoints [get, set]
 

Member Function Documentation

Vector3d Trajectory.ConvertPointToLerped ( Vector3d  point,
double  time,
CelestialBody  relativeFrom,
CelestialBody  relativeTo,
double  minUT,
double  escapeUT,
double  linearity 
)
inline
Vector3d Trajectory.ConvertPointToLocal ( Vector3d  point)
inline
Vector3d Trajectory.ConvertPointToLocalAtUT ( Vector3d  point,
double  atUT,
CelestialBody  relativeTo 
)
inline
Vector3d Trajectory.ConvertPointToRelative ( Vector3d  point,
double  time,
CelestialBody  relativeTo 
)
inline
Vector3d Trajectory.GetApoapsisLerped ( CelestialBody  relativeFrom,
CelestialBody  relativeTo,
double  minUT,
double  escapeUT,
double  linearity 
)
inline
Vector3d Trajectory.GetApoapsisLocal ( )
inline
Vector3d Trajectory.GetApoapsisLocalAtUT ( CelestialBody  relativeTo,
double  atUT 
)
inline
Vector3d Trajectory.GetApoapsisRelative ( CelestialBody  relativeTo)
inline
void Trajectory.GetColors ( Color  baseColor,
Color[]  colors 
)
inline
Vector3d Trajectory.GetPatchEndLerped ( CelestialBody  relativeFrom,
CelestialBody  relativeTo,
double  minUT,
double  escapeUT,
double  linearity 
)
inline
Vector3d Trajectory.GetPatchEndLocal ( )
inline
Vector3d Trajectory.GetPatchEndLocalAtUT ( CelestialBody  relativeTo,
double  atUT 
)
inline
Vector3d Trajectory.GetPatchEndRelative ( CelestialBody  relativeTo)
inline
Vector3d Trajectory.GetPatchStartLerped ( CelestialBody  relativeFrom,
CelestialBody  relativeTo,
double  minUT,
double  escapeUT,
double  linearity 
)
inline
Vector3d Trajectory.GetPatchStartLocal ( )
inline
Vector3d Trajectory.GetPatchStartLocalAtUT ( CelestialBody  relativeTo,
double  atUT 
)
inline
Vector3d Trajectory.GetPatchStartRelative ( CelestialBody  relativeTo)
inline
Vector3d Trajectory.GetPeriapsisLerped ( CelestialBody  relativeFrom,
CelestialBody  relativeTo,
double  minUT,
double  escapeUT,
double  linearity 
)
inline
Vector3d Trajectory.GetPeriapsisLocal ( )
inline
Vector3d Trajectory.GetPeriapsisLocalAtUT ( CelestialBody  relativeTo,
double  atUT 
)
inline
Vector3d Trajectory.GetPeriapsisRelative ( CelestialBody  relativeTo)
inline
Vector3d [] Trajectory.GetPoints ( )
inline
void Trajectory.GetPointsLerped ( Vector3d[]  rPoints,
CelestialBody  relativeFrom,
CelestialBody  relativeTo,
double  minUT,
double  escapeUT,
double  linearity 
)
inline
void Trajectory.GetPointsLocal ( Vector3d[]  rPoints)
inline
void Trajectory.GetPointsLocalAtUT ( Vector3d[]  rPoints,
CelestialBody  relativeTo,
double  atUT 
)
inline
void Trajectory.GetPointsRelative ( Vector3d[]  rPoints,
CelestialBody  relativeTo 
)
inline
Vector3d Trajectory.GetRefBodyPosLerped ( CelestialBody  relativeFrom,
CelestialBody  relativeTo,
double  minUT,
double  escapeUT,
double  linearity 
)
inline
Vector3d Trajectory.GetRefBodyPosLocal ( )
inline
Vector3d Trajectory.GetRefBodyPosLocalAtUT ( CelestialBody  relativeTo,
double  atUT 
)
inline
Vector3d Trajectory.GetRefBodyPosRelative ( CelestialBody  relativeTo)
inline
double [] Trajectory.GetTimes ( )
inline
Trajectory Trajectory.ReframeToLerped ( CelestialBody  relativeFrom,
CelestialBody  relativeTo,
double  minUT,
double  escapeUT,
double  linearity 
)
inline
Trajectory Trajectory.ReframeToLocal ( )
inline
Trajectory Trajectory.ReframeToLocalAtUT ( CelestialBody  relativeTo,
double  atUT 
)
inline
Trajectory Trajectory.ReframeToRelative ( CelestialBody  relativeTo)
inline
void Trajectory.UpdateFromOrbit ( Orbit  orbit,
int  sampleCount 
)
inline

Member Data Documentation

Orbit Trajectory.patch
CelestialBody Trajectory.referenceBody
double [] Trajectory.Vs

Property Documentation

Vector3d [] Trajectory.TPoints
getset

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