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,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::Point3)</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/point3.rb, line 27</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Point3</span>.<span class="ruby-identifier">origin</span>
15
- <span class="ruby-ivar">@@origin3</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>new (Eymiha::Point3)</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/point3.rb, line 33</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</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-identifier">set</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>to_s (Eymiha::Point3)</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/point3.rb, line 38</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
15
- <span class="ruby-node">&quot;Point3: x #{x} y #{y} z #{z}&quot;</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,25 +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>set (Eymiha::Point3)</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/point3.rb, line 47</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set</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-keyword kw">if</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Numeric</span>
16
- <span class="ruby-ivar">@x</span>, <span class="ruby-ivar">@y</span>, <span class="ruby-ivar">@z</span> = <span class="ruby-value">1.0</span><span class="ruby-operator">*</span><span class="ruby-identifier">x</span>, <span class="ruby-value">1.0</span><span class="ruby-operator">*</span><span class="ruby-identifier">y</span>, <span class="ruby-value">1.0</span><span class="ruby-operator">*</span><span class="ruby-identifier">z</span>
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">set</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">x</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">y</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">z</span>
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">x</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">self</span>
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </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>== (Eymiha::Point3)</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/point3.rb, line 60</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">point3</span>)
15
- (<span class="ruby-ivar">@x</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">point3</span>.<span class="ruby-identifier">x</span>)<span class="ruby-operator">&amp;&amp;</span>(<span class="ruby-ivar">@y</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">point3</span>.<span class="ruby-identifier">y</span>)<span class="ruby-operator">&amp;&amp;</span>(<span class="ruby-ivar">@z</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">point3</span>.<span class="ruby-identifier">z</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,20 +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>approximately_equals? (Eymiha::Point3)</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/point3.rb, line 67</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">point3</span>,<span class="ruby-identifier">epsilon</span>=<span class="ruby-constant">Numeric</span>.<span class="ruby-identifier">epsilon</span>)
15
- <span class="ruby-ivar">@x</span>.<span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">x</span>,<span class="ruby-identifier">epsilon</span>)<span class="ruby-operator">&amp;&amp;</span>
16
- <span class="ruby-ivar">@y</span>.<span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">y</span>,<span class="ruby-identifier">epsilon</span>)<span class="ruby-operator">&amp;&amp;</span>
17
- <span class="ruby-ivar">@z</span>.<span class="ruby-identifier">approximately_equals?</span>(<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">z</span>,<span class="ruby-identifier">epsilon</span>)
18
- <span class="ruby-keyword kw">end</span></pre>
19
- </body>
20
- </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::Point3)</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/point3.rb, line 79</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">point3</span>(<span class="ruby-identifier">x</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">x</span>,<span class="ruby-identifier">y</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">y</span>,<span class="ruby-identifier">z</span>=<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">z</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::Point3)</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/point3.rb, line 85</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">point3s</span>(<span class="ruby-identifier">point3s</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">point3</span>=<span class="ruby-keyword kw">self</span>)
15
- (<span class="ruby-identifier">point3s</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Point3s</span>.<span class="ruby-identifier">new</span>).<span class="ruby-identifier">set</span>(<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">s_radius</span>,<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">theta</span>,<span class="ruby-identifier">point3</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::Point3)</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/point3.rb, line 91</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">point3c</span>(<span class="ruby-identifier">point3c</span>=<span class="ruby-keyword kw">nil</span>,<span class="ruby-identifier">point3</span>=<span class="ruby-keyword kw">self</span>)
15
- (<span class="ruby-identifier">point3c</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Point3c</span>.<span class="ruby-identifier">new</span>).<span class="ruby-identifier">set</span>(<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">c_radius</span>,<span class="ruby-identifier">point3</span>.<span class="ruby-identifier">theta</span>,<span class="ruby-identifier">point3</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>s_radius (Eymiha::Point3)</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/point3.rb, line 96</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">s_radius</span>
15
- <span class="ruby-identifier">modulus</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>c_radius (Eymiha::Point3)</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/point3.rb, line 101</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">c_radius</span>
15
- <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span>((<span class="ruby-ivar">@x</span><span class="ruby-operator">*</span><span class="ruby-ivar">@x</span>)<span class="ruby-operator">+</span>(<span class="ruby-ivar">@y</span><span class="ruby-operator">*</span><span class="ruby-ivar">@y</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>theta (Eymiha::Point3)</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/point3.rb, line 106</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">theta</span>
15
- (<span class="ruby-ivar">@x</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>)<span class="ruby-operator">?</span> ((<span class="ruby-ivar">@y</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>)<span class="ruby-operator">?</span> <span class="ruby-ivar">@@pio2</span> <span class="ruby-operator">:</span> <span class="ruby-operator">-</span><span class="ruby-ivar">@@pio2</span>) <span class="ruby-operator">:</span> <span class="ruby-constant">Math</span>.<span class="ruby-identifier">atan2</span>(<span class="ruby-ivar">@y</span>,<span class="ruby-ivar">@x</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,19 +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>phi (Eymiha::Point3)</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/point3.rb, line 111</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">phi</span>
15
- <span class="ruby-identifier">m</span> = <span class="ruby-identifier">modulus</span>
16
- (<span class="ruby-identifier">m</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>)<span class="ruby-operator">?</span> <span class="ruby-value">0</span> <span class="ruby-operator">:</span> <span class="ruby-constant">Math</span>.<span class="ruby-identifier">acos</span>(<span class="ruby-identifier">z</span><span class="ruby-operator">/</span><span class="ruby-identifier">m</span>)
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </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>distance_to (Eymiha::Point3)</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/point3.rb, line 117</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">distance_to</span>(<span class="ruby-identifier">point3</span>)
15
- <span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span>(((<span class="ruby-ivar">@x</span><span class="ruby-operator">-</span><span class="ruby-identifier">point3</span>.<span class="ruby-identifier">x</span>)<span class="ruby-operator">**</span><span class="ruby-value">2</span>)<span class="ruby-operator">+</span>((<span class="ruby-ivar">@y</span><span class="ruby-operator">-</span><span class="ruby-identifier">point3</span>.<span class="ruby-identifier">y</span>)<span class="ruby-operator">**</span><span class="ruby-value">2</span>)<span class="ruby-operator">+</span>((<span class="ruby-ivar">@z</span><span class="ruby-operator">-</span><span class="ruby-identifier">point3</span>.<span class="ruby-identifier">z</span>)<span class="ruby-operator">**</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>modulus (Eymiha::Point3)</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/point3.rb, line 122</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">modulus</span>
15
- <span class="ruby-identifier">distance_to</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>dot (Eymiha::Point3)</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/point3.rb, line 128</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dot</span>(<span class="ruby-identifier">point3</span>)
15
- (<span class="ruby-ivar">@x</span><span class="ruby-operator">*</span><span class="ruby-identifier">point3</span>.<span class="ruby-identifier">x</span>)<span class="ruby-operator">+</span>(<span class="ruby-ivar">@y</span><span class="ruby-operator">*</span><span class="ruby-identifier">point3</span>.<span class="ruby-identifier">y</span>)<span class="ruby-operator">+</span>(<span class="ruby-ivar">@z</span><span class="ruby-operator">*</span><span class="ruby-identifier">point3</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>mirror (Eymiha::Point3)</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/point3.rb, line 134</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mirror</span>
15
- <span class="ruby-identifier">point3</span>.<span class="ruby-identifier">mirror!</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>mirror! (Eymiha::Point3)</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/point3.rb, line 140</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">mirror!</span>
15
- <span class="ruby-identifier">set</span>(<span class="ruby-operator">-</span><span class="ruby-ivar">@x</span>, <span class="ruby-operator">-</span><span class="ruby-ivar">@y</span>, <span class="ruby-operator">-</span><span class="ruby-ivar">@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>add (Eymiha::Point3)</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/point3.rb, line 149</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</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-identifier">point3</span>.<span class="ruby-identifier">add!</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,24 +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>add! (Eymiha::Point3)</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/point3.rb, line 156</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add!</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-keyword kw">if</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Numeric</span>
16
- <span class="ruby-identifier">set</span>(<span class="ruby-ivar">@x</span><span class="ruby-operator">+</span><span class="ruby-identifier">x</span>, <span class="ruby-ivar">@y</span><span class="ruby-operator">+</span><span class="ruby-identifier">y</span>, <span class="ruby-ivar">@z</span><span class="ruby-operator">+</span><span class="ruby-identifier">z</span>)
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">add!</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">x</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">y</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">z</span>
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">x</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </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>subtract (Eymiha::Point3)</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/point3.rb, line 171</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">subtract</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-identifier">point3</span>.<span class="ruby-identifier">subtract!</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,24 +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>subtract! (Eymiha::Point3)</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/point3.rb, line 178</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">subtract!</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-keyword kw">if</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Numeric</span>
16
- <span class="ruby-identifier">add!</span>(<span class="ruby-operator">-</span><span class="ruby-identifier">x</span>, <span class="ruby-operator">-</span><span class="ruby-identifier">y</span>, <span class="ruby-operator">-</span><span class="ruby-identifier">z</span>)
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">subtract!</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">x</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">y</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">z</span>
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">x</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </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>multiply (Eymiha::Point3)</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/point3.rb, line 193</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">multiply</span>(<span class="ruby-identifier">x</span>=<span class="ruby-value">1</span>,<span class="ruby-identifier">y</span>=<span class="ruby-value">1</span>,<span class="ruby-identifier">z</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-identifier">point3</span>.<span class="ruby-identifier">multiply!</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,24 +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>multiply! (Eymiha::Point3)</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/point3.rb, line 200</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">multiply!</span>(<span class="ruby-identifier">x</span>=<span class="ruby-value">1</span>,<span class="ruby-identifier">y</span>=<span class="ruby-value">1</span>,<span class="ruby-identifier">z</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Numeric</span>
16
- <span class="ruby-identifier">set</span>(<span class="ruby-ivar">@x</span><span class="ruby-operator">*</span><span class="ruby-identifier">x</span>, <span class="ruby-ivar">@y</span><span class="ruby-operator">*</span><span class="ruby-identifier">y</span>, <span class="ruby-ivar">@z</span><span class="ruby-operator">*</span><span class="ruby-identifier">z</span>)
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">multiply!</span> <span class="ruby-identifier">x</span>.<span class="ruby-identifier">x</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">y</span>, <span class="ruby-identifier">x</span>.<span class="ruby-identifier">z</span>
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">x</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </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>scale (Eymiha::Point3)</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/point3.rb, line 215</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scale</span>(<span class="ruby-identifier">scalar</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-identifier">point3</span>.<span class="ruby-identifier">scale!</span>(<span class="ruby-identifier">scalar</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,24 +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>scale! (Eymiha::Point3)</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/point3.rb, line 220</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">scale!</span>(<span class="ruby-identifier">scalar</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">scalar</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Numeric</span>
16
- <span class="ruby-identifier">multiply!</span> <span class="ruby-identifier">scalar</span>, <span class="ruby-identifier">scalar</span>, <span class="ruby-identifier">scalar</span>
17
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">scalar</span>.<span class="ruby-identifier">point3_like?</span>
18
- <span class="ruby-identifier">multiply!</span> <span class="ruby-identifier">scalar</span>
19
- <span class="ruby-keyword kw">else</span>
20
- <span class="ruby-identifier">raise_no_conversion</span> <span class="ruby-identifier">scalar</span>
21
- <span class="ruby-keyword kw">end</span>
22
- <span class="ruby-keyword kw">end</span></pre>
23
- </body>
24
- </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>unit (Eymiha::Point3)</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/point3.rb, line 232</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">unit</span>(<span class="ruby-identifier">x</span>=<span class="ruby-value">1</span>,<span class="ruby-identifier">y</span>=<span class="ruby-value">1</span>,<span class="ruby-identifier">z</span>=<span class="ruby-value">1</span>)
15
- <span class="ruby-identifier">point3</span>.<span class="ruby-identifier">unit!</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>