KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Public Attributes | Properties | List of all members
PatchedConicSolver Class Reference

Each vessel has a PatchedConicSolver, which stores the predicted patched conics trajectory and any maneuver nodes that currently exist. More...

Inheritance diagram for PatchedConicSolver:

Public Member Functions

 PatchedConicSolver ()
 
ManeuverNode AddManeuverNode (double UT)
 Add a maneuver node to the flight plan. More...
 
void DecreasePatchLimit ()
 
void IncreasePatchLimit ()
 
void RemoveManeuverNode (ManeuverNode node)
 Remove a maneuver node from the flight plane. More...
 
void Update ()
 
void UpdateFlightPlan ()
 

Public Attributes

bool debug_disableEscapeCheck
 
List< OrbitflightPlan
 
int GeoSolverIterations
 
List< ManeuverNodemaneuverNodes
 A list of the maneuver nodes that are currently planned for this vessel. More...
 
int maxGeometrySolverIterations
 
int maxTimeSolverIterations
 
int maxTotalPatches
 
bool MorePatchesAhead
 
OrbitDriver obtDriver
 
double outerReaches
 
List< Orbitpatches
 
int patchesAhead
 
CelestialBody targetBody
 
int TimeSolverIterations1
 
int TimeSolverIterations2
 

Properties

Orbit LastActivePatch [get]
 
Orbit orbit [get]
 

Detailed Description

Each vessel has a PatchedConicSolver, which stores the predicted patched conics trajectory and any maneuver nodes that currently exist.

Constructor & Destructor Documentation

PatchedConicSolver.PatchedConicSolver ( )

Member Function Documentation

ManeuverNode PatchedConicSolver.AddManeuverNode ( double  UT)

Add a maneuver node to the flight plan.

Parameters
UTThe universal time of the maneuver node.
Returns
A reference to the maneuver node
void PatchedConicSolver.DecreasePatchLimit ( )
void PatchedConicSolver.IncreasePatchLimit ( )
void PatchedConicSolver.RemoveManeuverNode ( ManeuverNode  node)

Remove a maneuver node from the flight plane.

Parameters
nodeThe maneuver node to be removed.
void PatchedConicSolver.Update ( )
void PatchedConicSolver.UpdateFlightPlan ( )

Member Data Documentation

bool PatchedConicSolver.debug_disableEscapeCheck
List<Orbit> PatchedConicSolver.flightPlan
int PatchedConicSolver.GeoSolverIterations
List<ManeuverNode> PatchedConicSolver.maneuverNodes

A list of the maneuver nodes that are currently planned for this vessel.

int PatchedConicSolver.maxGeometrySolverIterations
int PatchedConicSolver.maxTimeSolverIterations
int PatchedConicSolver.maxTotalPatches
bool PatchedConicSolver.MorePatchesAhead
OrbitDriver PatchedConicSolver.obtDriver
double PatchedConicSolver.outerReaches
List<Orbit> PatchedConicSolver.patches
int PatchedConicSolver.patchesAhead
CelestialBody PatchedConicSolver.targetBody
int PatchedConicSolver.TimeSolverIterations1
int PatchedConicSolver.TimeSolverIterations2

Property Documentation

Orbit PatchedConicSolver.LastActivePatch
get
Orbit PatchedConicSolver.orbit
get

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