<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modding.kerbal.wiki/index.php?action=history&amp;feed=atom&amp;title=Orbits_and_PatchedConicsOrbit_methods_and_info</id>
	<title>Orbits and PatchedConicsOrbit methods and info - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modding.kerbal.wiki/index.php?action=history&amp;feed=atom&amp;title=Orbits_and_PatchedConicsOrbit_methods_and_info"/>
	<link rel="alternate" type="text/html" href="https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;action=history"/>
	<updated>2026-04-28T03:55:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;diff=54&amp;oldid=prev</id>
		<title>KiwiShark: 3 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;diff=54&amp;oldid=prev"/>
		<updated>2024-10-09T16:45:59Z</updated>

		<summary type="html">&lt;p&gt;3 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:45, 9 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key web117_modding:diff:1.41:old-53:rev-54 --&gt;
&lt;/table&gt;</summary>
		<author><name>KiwiShark</name></author>
	</entry>
	<entry>
		<id>https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;diff=53&amp;oldid=prev</id>
		<title>Spacewarp&gt;Munix: Removed empty table rows</title>
		<link rel="alternate" type="text/html" href="https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;diff=53&amp;oldid=prev"/>
		<updated>2023-04-17T21:41:01Z</updated>

		<summary type="html">&lt;p&gt;Removed empty table rows&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:41, 17 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot;&gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|o.referenceBody.timeWarpAltitudeLimits [n]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|o.referenceBody.timeWarpAltitudeLimits [n]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|o.referenceBody.TimeWarpAltitudeOffset*n&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|o.referenceBody.TimeWarpAltitudeOffset*n&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l77&quot;&gt;Line 77:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 74:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|o.referenceBody.GetLatitude()&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|o.referenceBody.GetLatitude()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|o.referenceBody.GetLatLonAltFromRadius()&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|o.referenceBody.GetLatLonAltFromRadius()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key web117_modding:diff:1.41:old-52:rev-53:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Spacewarp&gt;Munix</name></author>
	</entry>
	<entry>
		<id>https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;diff=52&amp;oldid=prev</id>
		<title>Spacewarp&gt;Admin: Admin moved page Translating KSP1 code to KSP2 to Orbits and PatchedConicsOrbit methods and info without leaving a redirect: Name change</title>
		<link rel="alternate" type="text/html" href="https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;diff=52&amp;oldid=prev"/>
		<updated>2023-04-16T21:15:17Z</updated>

		<summary type="html">&lt;p&gt;Admin moved page &lt;a href=&quot;/index.php?title=Translating_KSP1_code_to_KSP2&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Translating KSP1 code to KSP2 (page does not exist)&quot;&gt;Translating KSP1 code to KSP2&lt;/a&gt; to &lt;a href=&quot;/Orbits_and_PatchedConicsOrbit_methods_and_info&quot; title=&quot;Orbits and PatchedConicsOrbit methods and info&quot;&gt;Orbits and PatchedConicsOrbit methods and info&lt;/a&gt; without leaving a redirect: Name change&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:15, 16 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key web117_modding:diff:1.41:old-51:rev-52 --&gt;
&lt;/table&gt;</summary>
		<author><name>Spacewarp&gt;Admin</name></author>
	</entry>
	<entry>
		<id>https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;diff=51&amp;oldid=prev</id>
		<title>Spacewarp&gt;Schlosrat: Initial version - very rough. Needs editing and a lot more info</title>
		<link rel="alternate" type="text/html" href="https://modding.kerbal.wiki/index.php?title=Orbits_and_PatchedConicsOrbit_methods_and_info&amp;diff=51&amp;oldid=prev"/>
		<updated>2023-04-16T19:09:52Z</updated>

		<summary type="html">&lt;p&gt;Initial version - very rough. Needs editing and a lot more info&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:Orbits and PatchedConicsOrbit methods and info}}&lt;br /&gt;
[[Category:KSP 1 code conversion]]&lt;br /&gt;
&lt;br /&gt;
When porting from KSP1 to KSP2 one of the first things you&amp;#039;re likely to encounter is the fact that where KSP1 defined an orbit using the Orbit class, in KSP2 it&amp;#039;s now the PatchedConicsOrbit class. These classes have a lot in common; for example, there are a number of methods and properties where the names are almost identical other than a change of case for the initial character. Nevertheless, there are a few differences that you should know about when porting KSP1 code to work in KSP2.&lt;br /&gt;
&lt;br /&gt;
So where you might have a variable of type Orbit, now you&amp;#039;ll mostly use a variable of type PatchedConicsOrbit.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Orbit vs PatchedConicOrbit Properties&lt;br /&gt;
!KSP1&lt;br /&gt;
!KSP2&lt;br /&gt;
|-&lt;br /&gt;
|Orbit o;&lt;br /&gt;
|PatchedConicsOrbit o;&lt;br /&gt;
|-&lt;br /&gt;
|o.referenceBody.position&lt;br /&gt;
|o.referenceBody.Position.localPosition&lt;br /&gt;
|-&lt;br /&gt;
|o.referenceBody.transform.up&lt;br /&gt;
|o.referenceBody.transform.up.vector&lt;br /&gt;
|-&lt;br /&gt;
|o.referenceBody.transform.right&lt;br /&gt;
|o.referenceBody.transform.right.vector&lt;br /&gt;
|-&lt;br /&gt;
|o.referenceBody.Radius&lt;br /&gt;
|o.referenceBody.radius&lt;br /&gt;
|-&lt;br /&gt;
|o.referenceBody.orbit&lt;br /&gt;
|o.referenceBody.Orbit&lt;br /&gt;
|-&lt;br /&gt;
|o.LAN&lt;br /&gt;
|o.longitudeOfAscendingNode&lt;br /&gt;
|-&lt;br /&gt;
|Planetarium.up&lt;br /&gt;
|o.ReferenceFrame.up.vector&lt;br /&gt;
|-&lt;br /&gt;
|Planetarium.right&lt;br /&gt;
|o.ReferenceFrame.right.vector&lt;br /&gt;
|-&lt;br /&gt;
|o.PeR&lt;br /&gt;
|o.Periapsis&lt;br /&gt;
|-&lt;br /&gt;
|o.PeA&lt;br /&gt;
|o.PeriapsisArl&lt;br /&gt;
|-&lt;br /&gt;
|o.ApR&lt;br /&gt;
|o.Apoapsis&lt;br /&gt;
|-&lt;br /&gt;
|o.ApA&lt;br /&gt;
|o.ApoapsisArl&lt;br /&gt;
|-&lt;br /&gt;
|o.trueAnomaly&lt;br /&gt;
|o.TrueAnomaly&lt;br /&gt;
|-&lt;br /&gt;
|o.patchEndTransition&lt;br /&gt;
|o.PatchEndTransition&lt;br /&gt;
|-&lt;br /&gt;
|o.referenceBody.timeWarpAltitudeLimits [n]&lt;br /&gt;
|o.referenceBody.TimeWarpAltitudeOffset*n&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Orbit vs PatchedConicOrbit Methods&lt;br /&gt;
!KSP1&lt;br /&gt;
!KSP2&lt;br /&gt;
|-&lt;br /&gt;
|o.getOrbitalVelocityAtUT()&lt;br /&gt;
|o.GetOrbitalVelocityAtUTZup()&lt;br /&gt;
|-&lt;br /&gt;
|o.getRelativePositionAtUT()&lt;br /&gt;
|o.GetRelativePositionAtUT()&lt;br /&gt;
|-&lt;br /&gt;
|o.GetOrbitNormal()&lt;br /&gt;
|o.GetRelativeOrbitNormal()&lt;br /&gt;
|-&lt;br /&gt;
|o.referenceBody.GetLatitude()&lt;br /&gt;
|o.referenceBody.GetLatLonAltFromRadius()&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Body Type: Properties and Methods&lt;br /&gt;
&lt;br /&gt;
TypeCelestialBody -&amp;gt; CelestialBodyComponent&lt;br /&gt;
&lt;br /&gt;
Vessel Type: Properties and Methods&lt;br /&gt;
&lt;br /&gt;
Coordinate Systems&lt;br /&gt;
&lt;br /&gt;
Useful Code Block Conversions&lt;br /&gt;
&lt;br /&gt;
Was&lt;br /&gt;
&lt;br /&gt;
o.GetOrbitalStateVectorsAtUT(UT, out pos, out vel);&lt;br /&gt;
&lt;br /&gt;
newOrbit.UpdateFromStateVectors(pos, vel, o.referenceBody, UT);&lt;br /&gt;
&lt;br /&gt;
Is&lt;br /&gt;
&lt;br /&gt;
o.GetOrbitalStateVectorsAtUT(UT, out pos, out vel);&lt;br /&gt;
&lt;br /&gt;
KSP.Sim.Position position = new KSP.Sim.Position(o.referenceBody.coordinateSystem, OrbitExtensions.SwapYZ(pos - o.referenceBody.Position.localPosition));&lt;br /&gt;
&lt;br /&gt;
KSP.Sim.Velocity velocity = new KSP.Sim.Velocity(o.referenceBody.relativeToMotion, OrbitExtensions.SwapYZ(vel));&lt;br /&gt;
&lt;br /&gt;
newOrbit.UpdateFromStateVectors(position, velocity, o.referenceBody, UT);&lt;br /&gt;
&lt;br /&gt;
Was&lt;br /&gt;
&lt;br /&gt;
PatchedConics.SolverParameters solverParameters = new PatchedConics.SolverParameters();&lt;br /&gt;
&lt;br /&gt;
Is&lt;br /&gt;
&lt;br /&gt;
PatchedConicSolver.SolverParameters solverParameters = new PatchedConicSolver.SolverParameters();&lt;br /&gt;
&lt;br /&gt;
Was&lt;br /&gt;
&lt;br /&gt;
PatchedConics.CalculatePatch(o, nextOrbit, UT, solverParameters, null);&lt;br /&gt;
&lt;br /&gt;
Is&lt;br /&gt;
&lt;br /&gt;
nextOrbit = o.NextPatch as PatchedConicsOrbit;&lt;br /&gt;
&lt;br /&gt;
Was&lt;br /&gt;
&lt;br /&gt;
o.UTAtMeanAnomaly(o.GetMeanAnomalyAtEccentricAnomaly(o.GetEccentricAnomalyAtTrueAnomaly(trueAnomaly)), UT);&lt;br /&gt;
&lt;br /&gt;
Is&lt;br /&gt;
&lt;br /&gt;
o.GetUTforTrueAnomaly(trueAnomaly*UtilMath.Deg2Rad, o.period);&lt;br /&gt;
&lt;br /&gt;
New Code&lt;br /&gt;
&lt;br /&gt;
public static Vector3d DvToBurnVec(PatchedConicsOrbit o, Vector3d dV, double UT)&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
Vector3d burnVec;&lt;br /&gt;
&lt;br /&gt;
burnVec.x = Vector3d.Dot(dV, o.RadialPlus(UT));&lt;br /&gt;
&lt;br /&gt;
burnVec.y = Vector3d.Dot(dV, o.NormalPlus(UT));&lt;br /&gt;
&lt;br /&gt;
burnVec.z = Vector3d.Dot(dV, -1 * o.Prograde(UT)); return burnVec;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public static Vector3d BurnVecToDv(PatchedConicsOrbit o, Vector3d burnVec, double UT) { return burnVec.x * o.RadialPlus(UT) + burnVec.y * o.NormalPlus(UT) - burnVec.z * o.Prograde(UT); }&lt;/div&gt;</summary>
		<author><name>Spacewarp&gt;Schlosrat</name></author>
	</entry>
</feed>