Difference between revisions of "API:PatchedConicSolver"
From Kerbal Space Program Wiki
(add complete class PatchedConicSolver) |
Rocketdocker (talk | contribs) ({{Orphan}}) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Orphan}} | ||
{{PropertiesStart}} | {{PropertiesStart}} | ||
{{Property | {{Property | ||
Line 95: | Line 96: | ||
|name=AddManeuverNode | |name=AddManeuverNode | ||
|args={{arg|double|UT}} | |args={{arg|double|UT}} | ||
− | |desc= | + | |desc=Add a maneuver node. To add a maneuver in 30min : FlightGlobals.ActiveVessel.patchedConicSolver.AddManeuverNode(Planetarium.GetUniversalTime() + (30.0 * 60.0)); |
}} | }} | ||
{{Method | {{Method | ||
Line 128: | Line 129: | ||
}} | }} | ||
{{MethodsEnd}} | {{MethodsEnd}} | ||
+ | |||
+ | [[Category:Community API Documentation]] |
Latest revision as of 17:33, 22 January 2020
Properties
The following are public properties available in PatchedConicSolver.
Signature | Description |
---|---|
Orbit LastActivePatch { get; } | |
Orbit orbit { get; } |
Fields
The following is a list of publically-accessible fields in PatchedConicSolver. This includes protected items, which can be accessed by subclasses.
Signature | Description |
---|---|
bool debug_disableEscapeCheck | |
List<Orbit> flightPlan | |
int GeoSolverIterations | |
List<ManeuverNode> maneuverNodes | Array containing nodes maneuvers. |
int maxGeometrySolverIterations | |
int maxTimeSolverIterations | |
int maxTotalPatches | |
bool MorePatchesAhead | |
OrbitDriver obtDriver | |
double outerReaches | |
List<Orbit> patches | |
int patchesAhead | |
CelestialBody targetBody | |
int TimeSolverIterations1 | |
int TimeSolverIterations2 |
Methods
The following are methods included in PatchedConicSolver.
Signature | Description |
---|---|
ManeuverNode AddManeuverNode(double UT) | Add a maneuver node. To add a maneuver in 30min : FlightGlobals.ActiveVessel.patchedConicSolver.AddManeuverNode(Planetarium.GetUniversalTime() + (30.0 * 60.0)); |
void DecreasePatchLimit() | |
void IncreasePatchLimit() | |
void RemoveManeuverNode(ManeuverNode node) | |
void Update() | |
void UpdateFlightPlan() |