Difference between revisions of "API:PatchedConicSolver"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+category;)
({{Orphan}})
 
(One intermediate revision by one other user 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

Latest revision as of 17:33, 22 January 2020

This page is an orphan, as no other articles link to it.


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()