eymiha_math3 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. data/gem_package.rb +1 -2
  2. data/lib/eymiha_math3.rb +1 -0
  3. metadata +56 -186
  4. data/html/classes/Eymiha/Envelope3.html +0 -333
  5. data/html/classes/Eymiha/Envelope3.src/M000044.html +0 -22
  6. data/html/classes/Eymiha/Envelope3.src/M000045.html +0 -19
  7. data/html/classes/Eymiha/Envelope3.src/M000046.html +0 -36
  8. data/html/classes/Eymiha/Envelope3.src/M000047.html +0 -19
  9. data/html/classes/Eymiha/Envelope3.src/M000048.html +0 -19
  10. data/html/classes/Eymiha/Envelope3.src/M000049.html +0 -26
  11. data/html/classes/Eymiha/Point3.html +0 -962
  12. data/html/classes/Eymiha/Point3.src/M000064.html +0 -18
  13. data/html/classes/Eymiha/Point3.src/M000065.html +0 -18
  14. data/html/classes/Eymiha/Point3.src/M000066.html +0 -18
  15. data/html/classes/Eymiha/Point3.src/M000067.html +0 -25
  16. data/html/classes/Eymiha/Point3.src/M000068.html +0 -18
  17. data/html/classes/Eymiha/Point3.src/M000069.html +0 -20
  18. data/html/classes/Eymiha/Point3.src/M000071.html +0 -18
  19. data/html/classes/Eymiha/Point3.src/M000072.html +0 -18
  20. data/html/classes/Eymiha/Point3.src/M000073.html +0 -18
  21. data/html/classes/Eymiha/Point3.src/M000074.html +0 -18
  22. data/html/classes/Eymiha/Point3.src/M000075.html +0 -18
  23. data/html/classes/Eymiha/Point3.src/M000076.html +0 -18
  24. data/html/classes/Eymiha/Point3.src/M000077.html +0 -19
  25. data/html/classes/Eymiha/Point3.src/M000078.html +0 -18
  26. data/html/classes/Eymiha/Point3.src/M000079.html +0 -18
  27. data/html/classes/Eymiha/Point3.src/M000080.html +0 -18
  28. data/html/classes/Eymiha/Point3.src/M000081.html +0 -18
  29. data/html/classes/Eymiha/Point3.src/M000082.html +0 -18
  30. data/html/classes/Eymiha/Point3.src/M000083.html +0 -18
  31. data/html/classes/Eymiha/Point3.src/M000085.html +0 -24
  32. data/html/classes/Eymiha/Point3.src/M000086.html +0 -18
  33. data/html/classes/Eymiha/Point3.src/M000088.html +0 -24
  34. data/html/classes/Eymiha/Point3.src/M000089.html +0 -18
  35. data/html/classes/Eymiha/Point3.src/M000091.html +0 -24
  36. data/html/classes/Eymiha/Point3.src/M000092.html +0 -18
  37. data/html/classes/Eymiha/Point3.src/M000093.html +0 -24
  38. data/html/classes/Eymiha/Point3.src/M000094.html +0 -18
  39. data/html/classes/Eymiha/Point3.src/M000095.html +0 -18
  40. data/html/classes/Eymiha/Point3.src/M000096.html +0 -18
  41. data/html/classes/Eymiha/Point3.src/M000097.html +0 -30
  42. data/html/classes/Eymiha/Point3.src/M000098.html +0 -19
  43. data/html/classes/Eymiha/Point3c.html +0 -493
  44. data/html/classes/Eymiha/Point3c.src/M000050.html +0 -18
  45. data/html/classes/Eymiha/Point3c.src/M000051.html +0 -18
  46. data/html/classes/Eymiha/Point3c.src/M000052.html +0 -18
  47. data/html/classes/Eymiha/Point3c.src/M000053.html +0 -25
  48. data/html/classes/Eymiha/Point3c.src/M000054.html +0 -19
  49. data/html/classes/Eymiha/Point3c.src/M000055.html +0 -22
  50. data/html/classes/Eymiha/Point3c.src/M000057.html +0 -18
  51. data/html/classes/Eymiha/Point3c.src/M000058.html +0 -18
  52. data/html/classes/Eymiha/Point3c.src/M000059.html +0 -18
  53. data/html/classes/Eymiha/Point3c.src/M000060.html +0 -18
  54. data/html/classes/Eymiha/Point3c.src/M000061.html +0 -18
  55. data/html/classes/Eymiha/Point3c.src/M000062.html +0 -18
  56. data/html/classes/Eymiha/Point3c.src/M000063.html +0 -19
  57. data/html/classes/Eymiha/Point3s.html +0 -512
  58. data/html/classes/Eymiha/Point3s.src/M000099.html +0 -18
  59. data/html/classes/Eymiha/Point3s.src/M000100.html +0 -18
  60. data/html/classes/Eymiha/Point3s.src/M000101.html +0 -18
  61. data/html/classes/Eymiha/Point3s.src/M000102.html +0 -18
  62. data/html/classes/Eymiha/Point3s.src/M000103.html +0 -26
  63. data/html/classes/Eymiha/Point3s.src/M000104.html +0 -19
  64. data/html/classes/Eymiha/Point3s.src/M000105.html +0 -21
  65. data/html/classes/Eymiha/Point3s.src/M000107.html +0 -18
  66. data/html/classes/Eymiha/Point3s.src/M000108.html +0 -18
  67. data/html/classes/Eymiha/Point3s.src/M000109.html +0 -18
  68. data/html/classes/Eymiha/Point3s.src/M000110.html +0 -18
  69. data/html/classes/Eymiha/Point3s.src/M000111.html +0 -18
  70. data/html/classes/Eymiha/Point3s.src/M000112.html +0 -18
  71. data/html/classes/Eymiha/Point3s.src/M000113.html +0 -18
  72. data/html/classes/Eymiha/Quaternion.html +0 -791
  73. data/html/classes/Eymiha/Quaternion.src/M000016.html +0 -18
  74. data/html/classes/Eymiha/Quaternion.src/M000017.html +0 -18
  75. data/html/classes/Eymiha/Quaternion.src/M000018.html +0 -26
  76. data/html/classes/Eymiha/Quaternion.src/M000019.html +0 -18
  77. data/html/classes/Eymiha/Quaternion.src/M000020.html +0 -19
  78. data/html/classes/Eymiha/Quaternion.src/M000022.html +0 -18
  79. data/html/classes/Eymiha/Quaternion.src/M000023.html +0 -20
  80. data/html/classes/Eymiha/Quaternion.src/M000024.html +0 -22
  81. data/html/classes/Eymiha/Quaternion.src/M000025.html +0 -18
  82. data/html/classes/Eymiha/Quaternion.src/M000027.html +0 -25
  83. data/html/classes/Eymiha/Quaternion.src/M000028.html +0 -18
  84. data/html/classes/Eymiha/Quaternion.src/M000030.html +0 -25
  85. data/html/classes/Eymiha/Quaternion.src/M000031.html +0 -18
  86. data/html/classes/Eymiha/Quaternion.src/M000033.html +0 -30
  87. data/html/classes/Eymiha/Quaternion.src/M000034.html +0 -18
  88. data/html/classes/Eymiha/Quaternion.src/M000035.html +0 -24
  89. data/html/classes/Eymiha/Quaternion.src/M000036.html +0 -18
  90. data/html/classes/Eymiha/Quaternion.src/M000037.html +0 -18
  91. data/html/classes/Eymiha/Quaternion.src/M000038.html +0 -18
  92. data/html/classes/Eymiha/Quaternion.src/M000039.html +0 -18
  93. data/html/classes/Eymiha/Quaternion.src/M000040.html +0 -18
  94. data/html/classes/Eymiha/Quaternion.src/M000041.html +0 -19
  95. data/html/classes/Eymiha/Quaternion.src/M000042.html +0 -18
  96. data/html/classes/Eymiha/Quaternion.src/M000043.html +0 -25
  97. data/html/classes/Eymiha/ThreeDimensions.html +0 -297
  98. data/html/classes/Eymiha/ThreeDimensions.src/M000006.html +0 -18
  99. data/html/classes/Eymiha/ThreeDimensions.src/M000007.html +0 -18
  100. data/html/classes/Eymiha/ThreeDimensions.src/M000008.html +0 -18
  101. data/html/classes/Eymiha/ThreeDimensions.src/M000009.html +0 -18
  102. data/html/classes/Eymiha/ThreeDimensions.src/M000010.html +0 -18
  103. data/html/classes/Eymiha/ThreeDimensions.src/M000011.html +0 -18
  104. data/html/classes/Eymiha/ThreeDimensions.src/M000012.html +0 -18
  105. data/html/classes/Eymiha/ThreeDimensions.src/M000013.html +0 -18
  106. data/html/classes/Eymiha/ThreeDimensions.src/M000014.html +0 -18
  107. data/html/classes/Eymiha/ThreeDimensions.src/M000015.html +0 -18
  108. data/html/classes/Eymiha.html +0 -143
  109. data/html/classes/Numeric.html +0 -167
  110. data/html/classes/Numeric.src/M000001.html +0 -18
  111. data/html/classes/Numeric.src/M000002.html +0 -18
  112. data/html/classes/Object.html +0 -187
  113. data/html/classes/Object.src/M000003.html +0 -18
  114. data/html/classes/Object.src/M000004.html +0 -18
  115. data/html/classes/Object.src/M000005.html +0 -18
  116. data/html/created.rid +0 -1
  117. data/html/files/lib/eymiha/math3/envelope3_rb.html +0 -109
  118. data/html/files/lib/eymiha/math3/math3_rb.html +0 -109
  119. data/html/files/lib/eymiha/math3/point3_rb.html +0 -108
  120. data/html/files/lib/eymiha/math3/point3c_rb.html +0 -108
  121. data/html/files/lib/eymiha/math3/point3s_rb.html +0 -108
  122. data/html/files/lib/eymiha/math3/quaternion_rb.html +0 -108
  123. data/html/files/lib/eymiha/math3_rb.html +0 -113
  124. data/html/fr_class_index.html +0 -35
  125. data/html/fr_file_index.html +0 -33
  126. data/html/fr_method_index.html +0 -139
  127. data/html/index.html +0 -24
  128. data/html/rdoc-style.css +0 -208
  129. data/lib/#envelope3.rb# +0 -96
@@ -1,297 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Eymiha::ThreeDimensions</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Eymiha::ThreeDimensions</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/eymiha/math3/math3_rb.html">
59
- lib/eymiha/math3/math3.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
-
76
-
77
- </div>
78
-
79
- <div id="method-list">
80
- <h3 class="section-bar">Methods</h3>
81
-
82
- <div class="name-list">
83
- <a href="#M000008">half_pi</a>&nbsp;&nbsp;
84
- <a href="#M000011">origin</a>&nbsp;&nbsp;
85
- <a href="#M000007">pi</a>&nbsp;&nbsp;
86
- <a href="#M000012">point3</a>&nbsp;&nbsp;
87
- <a href="#M000014">point3c</a>&nbsp;&nbsp;
88
- <a href="#M000013">point3s</a>&nbsp;&nbsp;
89
- <a href="#M000015">quaternion</a>&nbsp;&nbsp;
90
- <a href="#M000009">sqrt2</a>&nbsp;&nbsp;
91
- <a href="#M000010">sqrt3</a>&nbsp;&nbsp;
92
- <a href="#M000006">two_pi</a>&nbsp;&nbsp;
93
- </div>
94
- </div>
95
-
96
- </div>
97
-
98
-
99
- <!-- if includes -->
100
-
101
- <div id="section">
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
- <!-- if method_list -->
111
- <div id="methods">
112
- <h3 class="section-bar">Public Instance methods</h3>
113
-
114
- <div id="method-M000008" class="method-detail">
115
- <a name="M000008"></a>
116
-
117
- <div class="method-heading">
118
- <a href="ThreeDimensions.src/M000008.html" target="Code" class="method-signature"
119
- onclick="popupCode('ThreeDimensions.src/M000008.html');return false;">
120
- <span class="method-name">half_pi</span><span class="method-args">()</span>
121
- </a>
122
- </div>
123
-
124
- <div class="method-description">
125
- <p>
126
- shorthand for pi/2.
127
- </p>
128
- </div>
129
- </div>
130
-
131
- <div id="method-M000011" class="method-detail">
132
- <a name="M000011"></a>
133
-
134
- <div class="method-heading">
135
- <a href="ThreeDimensions.src/M000011.html" target="Code" class="method-signature"
136
- onclick="popupCode('ThreeDimensions.src/M000011.html');return false;">
137
- <span class="method-name">origin</span><span class="method-args">()</span>
138
- </a>
139
- </div>
140
-
141
- <div class="method-description">
142
- <p>
143
- the <a href="ThreeDimensions.html#M000011">origin</a> of 3D space.
144
- </p>
145
- </div>
146
- </div>
147
-
148
- <div id="method-M000007" class="method-detail">
149
- <a name="M000007"></a>
150
-
151
- <div class="method-heading">
152
- <a href="ThreeDimensions.src/M000007.html" target="Code" class="method-signature"
153
- onclick="popupCode('ThreeDimensions.src/M000007.html');return false;">
154
- <span class="method-name">pi</span><span class="method-args">()</span>
155
- </a>
156
- </div>
157
-
158
- <div class="method-description">
159
- <p>
160
- shorthand for <a href="ThreeDimensions.html#M000007">pi</a>.
161
- </p>
162
- </div>
163
- </div>
164
-
165
- <div id="method-M000012" class="method-detail">
166
- <a name="M000012"></a>
167
-
168
- <div class="method-heading">
169
- <a href="ThreeDimensions.src/M000012.html" target="Code" class="method-signature"
170
- onclick="popupCode('ThreeDimensions.src/M000012.html');return false;">
171
- <span class="method-name">point3</span><span class="method-args">(x=0, y=0, z=0)</span>
172
- </a>
173
- </div>
174
-
175
- <div class="method-description">
176
- <p>
177
- shorthand for creating a 3D point in cartesian coordinates.
178
- </p>
179
- </div>
180
- </div>
181
-
182
- <div id="method-M000014" class="method-detail">
183
- <a name="M000014"></a>
184
-
185
- <div class="method-heading">
186
- <a href="ThreeDimensions.src/M000014.html" target="Code" class="method-signature"
187
- onclick="popupCode('ThreeDimensions.src/M000014.html');return false;">
188
- <span class="method-name">point3c</span><span class="method-args">(c_radius=0, theta=0, z=0)</span>
189
- </a>
190
- </div>
191
-
192
- <div class="method-description">
193
- <p>
194
- shorthand for creating a 3D point in cylindrical coordinates.
195
- </p>
196
- </div>
197
- </div>
198
-
199
- <div id="method-M000013" class="method-detail">
200
- <a name="M000013"></a>
201
-
202
- <div class="method-heading">
203
- <a href="ThreeDimensions.src/M000013.html" target="Code" class="method-signature"
204
- onclick="popupCode('ThreeDimensions.src/M000013.html');return false;">
205
- <span class="method-name">point3s</span><span class="method-args">(s_radius=0, theta=0, phi=0)</span>
206
- </a>
207
- </div>
208
-
209
- <div class="method-description">
210
- <p>
211
- shorthand for creating a 3D point in spherical coordinates.
212
- </p>
213
- </div>
214
- </div>
215
-
216
- <div id="method-M000015" class="method-detail">
217
- <a name="M000015"></a>
218
-
219
- <div class="method-heading">
220
- <a href="ThreeDimensions.src/M000015.html" target="Code" class="method-signature"
221
- onclick="popupCode('ThreeDimensions.src/M000015.html');return false;">
222
- <span class="method-name">quaternion</span><span class="method-args">(axis=origin,real=0)</span>
223
- </a>
224
- </div>
225
-
226
- <div class="method-description">
227
- <p>
228
- shorthand for creating a <a
229
- href="ThreeDimensions.html#M000015">quaternion</a>.
230
- </p>
231
- </div>
232
- </div>
233
-
234
- <div id="method-M000009" class="method-detail">
235
- <a name="M000009"></a>
236
-
237
- <div class="method-heading">
238
- <a href="ThreeDimensions.src/M000009.html" target="Code" class="method-signature"
239
- onclick="popupCode('ThreeDimensions.src/M000009.html');return false;">
240
- <span class="method-name">sqrt2</span><span class="method-args">()</span>
241
- </a>
242
- </div>
243
-
244
- <div class="method-description">
245
- <p>
246
- shorthand for the square root of 2.
247
- </p>
248
- </div>
249
- </div>
250
-
251
- <div id="method-M000010" class="method-detail">
252
- <a name="M000010"></a>
253
-
254
- <div class="method-heading">
255
- <a href="ThreeDimensions.src/M000010.html" target="Code" class="method-signature"
256
- onclick="popupCode('ThreeDimensions.src/M000010.html');return false;">
257
- <span class="method-name">sqrt3</span><span class="method-args">()</span>
258
- </a>
259
- </div>
260
-
261
- <div class="method-description">
262
- <p>
263
- shorthand for the square root of 3.
264
- </p>
265
- </div>
266
- </div>
267
-
268
- <div id="method-M000006" class="method-detail">
269
- <a name="M000006"></a>
270
-
271
- <div class="method-heading">
272
- <a href="ThreeDimensions.src/M000006.html" target="Code" class="method-signature"
273
- onclick="popupCode('ThreeDimensions.src/M000006.html');return false;">
274
- <span class="method-name">two_pi</span><span class="method-args">()</span>
275
- </a>
276
- </div>
277
-
278
- <div class="method-description">
279
- <p>
280
- shorthand for 2*<a href="ThreeDimensions.html#M000007">pi</a>.
281
- </p>
282
- </div>
283
- </div>
284
-
285
-
286
- </div>
287
-
288
-
289
- </div>
290
-
291
-
292
- <div id="validator-badges">
293
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
294
- </div>
295
-
296
- </body>
297
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>two_pi (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 33</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">two_pi</span>
15
- <span class="ruby-value">2.0</span><span class="ruby-operator">*</span><span class="ruby-constant">Math</span><span class="ruby-operator">::</span><span class="ruby-constant">PI</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>pi (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 38</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pi</span>
15
- <span class="ruby-constant">Math</span><span class="ruby-operator">::</span><span class="ruby-constant">PI</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>half_pi (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 43</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">half_pi</span>
15
- <span class="ruby-constant">Math</span><span class="ruby-operator">::</span><span class="ruby-constant">PI</span><span class="ruby-operator">/</span><span class="ruby-value">2.0</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>sqrt2 (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 48</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sqrt2</span>
15
- <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span> <span class="ruby-value">2</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>sqrt3 (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 53</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sqrt3</span>
15
- <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span> <span class="ruby-value">3</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>origin (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 58</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">origin</span>
15
- <span class="ruby-constant">Point3</span>.<span class="ruby-identifier">origin</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>point3 (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 63</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">point3</span>(<span class="ruby-identifier">x</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">y</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">z</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-constant">Point3</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">x</span>,<span class="ruby-identifier">y</span>,<span class="ruby-identifier">z</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>point3s (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 68</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">point3s</span>(<span class="ruby-identifier">s_radius</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">theta</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">phi</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-constant">Point3s</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">s_radius</span>,<span class="ruby-identifier">theta</span>,<span class="ruby-identifier">phi</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>point3c (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 73</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">point3c</span>(<span class="ruby-identifier">c_radius</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">theta</span>=<span class="ruby-value">0</span>, <span class="ruby-identifier">z</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-constant">Point3c</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">c_radius</span>,<span class="ruby-identifier">theta</span>,<span class="ruby-identifier">z</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>quaternion (Eymiha::ThreeDimensions)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/eymiha/math3/math3.rb, line 78</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">quaternion</span>(<span class="ruby-identifier">axis</span>=<span class="ruby-identifier">origin</span>,<span class="ruby-identifier">real</span>=<span class="ruby-value">0</span>)
15
- <span class="ruby-constant">Quaternion</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">axis</span>,<span class="ruby-identifier">real</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,143 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Eymiha</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Eymiha</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/eymiha/math3/envelope3_rb.html">
59
- lib/eymiha/math3/envelope3.rb
60
- </a>
61
- <br />
62
- <a href="../files/lib/eymiha/math3/math3_rb.html">
63
- lib/eymiha/math3/math3.rb
64
- </a>
65
- <br />
66
- <a href="../files/lib/eymiha/math3/point3_rb.html">
67
- lib/eymiha/math3/point3.rb
68
- </a>
69
- <br />
70
- <a href="../files/lib/eymiha/math3/point3c_rb.html">
71
- lib/eymiha/math3/point3c.rb
72
- </a>
73
- <br />
74
- <a href="../files/lib/eymiha/math3/point3s_rb.html">
75
- lib/eymiha/math3/point3s.rb
76
- </a>
77
- <br />
78
- <a href="../files/lib/eymiha/math3/quaternion_rb.html">
79
- lib/eymiha/math3/quaternion.rb
80
- </a>
81
- <br />
82
- </td>
83
- </tr>
84
-
85
- </table>
86
- </div>
87
- <!-- banner header -->
88
-
89
- <div id="bodyContent">
90
-
91
-
92
-
93
- <div id="contextContent">
94
-
95
- <div id="description">
96
- <p>
97
- The <a href="Eymiha/ThreeDimensions.html">ThreeDimensions</a> module adds
98
- shorthands for common 3D entities, mostly to improve code readability.
99
- </p>
100
-
101
- </div>
102
-
103
-
104
- </div>
105
-
106
-
107
- </div>
108
-
109
-
110
- <!-- if includes -->
111
-
112
- <div id="section">
113
-
114
- <div id="class-list">
115
- <h3 class="section-bar">Classes and Modules</h3>
116
-
117
- Module <a href="Eymiha/ThreeDimensions.html" class="link">Eymiha::ThreeDimensions</a><br />
118
- Class <a href="Eymiha/Envelope3.html" class="link">Eymiha::Envelope3</a><br />
119
- Class <a href="Eymiha/Point3.html" class="link">Eymiha::Point3</a><br />
120
- Class <a href="Eymiha/Point3c.html" class="link">Eymiha::Point3c</a><br />
121
- Class <a href="Eymiha/Point3s.html" class="link">Eymiha::Point3s</a><br />
122
- Class <a href="Eymiha/Quaternion.html" class="link">Eymiha::Quaternion</a><br />
123
-
124
- </div>
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
- <!-- if method_list -->
133
-
134
-
135
- </div>
136
-
137
-
138
- <div id="validator-badges">
139
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
140
- </div>
141
-
142
- </body>
143
- </html>