forked from KSP-KOS/KOS_DOC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
math.html
282 lines (206 loc) · 12.8 KB
/
math.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mathematics and Basic Geometry — kOS 0.18.0 documentation</title>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="author" title="About these documents"
href="about.html"/>
<link rel="copyright" title="Copyright" href="copyright.html"/>
<link rel="top" title="kOS 0.18.0 documentation" href="index.html"/>
<link rel="next" title="Fundamental Constants" href="math/basic.html"/>
<link rel="prev" title="KerboScript User Functions" href="language/user_functions.html"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search">
<a href="index.html" class="fa fa-home"> kOS</a>
<div role="search">
<form id ="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="index.html">Home</a></li>
<li class="toctree-l1"><a class="reference internal" href="downloads_links.html">Downloads and Links</a><ul class="simple">
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorials.html">Tutorials</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorials/quickstart.html">Quick Start</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorials/designpatterns.html">Design Patterns</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorials/pidloops.html">PID Loops</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorials/exenode.html">Execute Node script</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="library.html">Community Example Library</a></li>
<li class="toctree-l1"><a class="reference internal" href="general.html">General</a><ul>
<li class="toctree-l2"><a class="reference internal" href="bindings.html">Bound Variables</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/cpu_vessel.html">CPU Vessel (SHIP)</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/cpu_hardware.html">CPU Hardware</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/applauncher_panel.html">Launcher Panel</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/telnet.html">Telnet Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/volumes.html">Files & Volumes</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/compiling.html">Machine Code</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/nametag.html">Name Tags</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/parts_and_partmodules.html">Parts & PartModules</a></li>
<li class="toctree-l2"><a class="reference internal" href="general/career_limits.html">Respecting Career Limits</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="language.html">Language</a><ul>
<li class="toctree-l2"><a class="reference internal" href="language/features.html">General Features</a></li>
<li class="toctree-l2"><a class="reference internal" href="language/syntax.html">Language Syntax</a></li>
<li class="toctree-l2"><a class="reference internal" href="language/flow.html">Flow Control</a></li>
<li class="toctree-l2"><a class="reference internal" href="language/variables.html">Variables</a></li>
<li class="toctree-l2"><a class="reference internal" href="language/user_functions.html">User Functions</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="current reference internal" href="">Mathematics</a><ul>
<li class="toctree-l2"><a class="reference internal" href="math/basic.html">Fundamental Constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/basic.html#mathematical-functions">Mathematical Functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/vector.html">Vectors</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/direction.html">Directions</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/geocoordinates.html">Geographic Coordinates</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/ref_frame.html">Reference Frames</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="commands.html">Commands</a><ul>
<li class="toctree-l2"><a class="reference internal" href="commands/flight.html">Flight Control</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands/prediction.html">Prediction</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands/list.html">Listing Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands/parts.html">Parts Information</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands/files.html">File I/O</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands/terminalgui.html">Terminal and GUI</a></li>
<li class="toctree-l2"><a class="reference internal" href="commands/resource_transfer.html"> Resource Transfer</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="structures.html">Structures</a><ul>
<li class="toctree-l2"><a class="reference internal" href="structures/orbits.html">Orbits</a></li>
<li class="toctree-l2"><a class="reference internal" href="structures/celestial_bodies.html">Celestial Bodies</a></li>
<li class="toctree-l2"><a class="reference internal" href="structures/vessels.html">Vessels & Parts</a></li>
<li class="toctree-l2"><a class="reference internal" href="structures/waypoint.html">Waypoints</a></li>
<li class="toctree-l2"><a class="reference internal" href="structures/misc.html">Miscellaneous</a></li>
<li class="toctree-l2"><a class="reference internal" href="structures/core.html">Core</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="addons.html">Addons</a><ul>
<li class="toctree-l2"><a class="reference internal" href="addons/AGX.html">Action Groups Extended</a></li>
<li class="toctree-l2"><a class="reference internal" href="addons/RemoteTech.html">RemoteTech</a></li>
<li class="toctree-l2"><a class="reference internal" href="addons/KAC.html">Kerbal Alarm Clock</a></li>
<li class="toctree-l2"><a class="reference internal" href="addons/IR.html">Infernal Robotics</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="contribute.html">Contribute</a><ul class="simple">
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="changes.html">Changes</a><ul class="simple">
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="about.html">About</a></li>
</ul>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">kOS</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li>Mathematics and Basic Geometry</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/math.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document">
<div class="section" id="mathematics-and-basic-geometry">
<span id="math"></span><h1>Mathematics and Basic Geometry<a class="headerlink" href="#mathematics-and-basic-geometry" title="Permalink to this headline">¶</a></h1>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="math/basic.html">Fundamental Constants</a></li>
<li class="toctree-l1"><a class="reference internal" href="math/basic.html#mathematical-functions">Mathematical Functions</a><ul>
<li class="toctree-l2"><a class="reference internal" href="math/basic.html#trigonometric-functions">Trigonometric Functions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="math/vector.html">Vectors</a><ul>
<li class="toctree-l2"><a class="reference internal" href="math/vector.html#creation">Creation</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/vector.html#structure">Structure</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/vector.html#operations-and-methods">Operations and Methods</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="math/direction.html">Directions</a><ul>
<li class="toctree-l2"><a class="reference internal" href="math/direction.html#creation">Creation</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/direction.html#structure">Structure</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/direction.html#operations-and-methods">Operations and Methods</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/direction.html#vectors-and-directions">Vectors and Directions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="math/geocoordinates.html">Geographic Coordinates</a><ul>
<li class="toctree-l2"><a class="reference internal" href="math/geocoordinates.html#creation">Creation</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/geocoordinates.html#structure">Structure</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/geocoordinates.html#examples-usage">Examples Usage</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="math/ref_frame.html">Reference Frames</a><ul>
<li class="toctree-l2"><a class="reference internal" href="math/ref_frame.html#raw-orientation">Raw Orientation</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/ref_frame.html#origin-position">Origin Position</a></li>
<li class="toctree-l2"><a class="reference internal" href="math/ref_frame.html#converting">Converting</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="math/basic.html" class="btn btn-neutral float-right" title="Fundamental Constants">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="language/user_functions.html" class="btn btn-neutral" title="KerboScript User Functions"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
© <a href="copyright.html">Copyright</a> 2013-2015, Developed and maintained by kOS Team, Originally By Nivekk.
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'0.18.0',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
</script>
</body>
</html>