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,139 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Methods
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Methods</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Methods</h1>
22
- <div id="index-entries">
23
- <a href="classes/Eymiha/Point3.html#M000090">* (Eymiha::Point3)</a><br />
24
- <a href="classes/Eymiha/Quaternion.html#M000032">* (Eymiha::Quaternion)</a><br />
25
- <a href="classes/Eymiha/Point3.html#M000084">+ (Eymiha::Point3)</a><br />
26
- <a href="classes/Eymiha/Quaternion.html#M000026">+ (Eymiha::Quaternion)</a><br />
27
- <a href="classes/Eymiha/Quaternion.html#M000029">- (Eymiha::Quaternion)</a><br />
28
- <a href="classes/Eymiha/Point3.html#M000087">- (Eymiha::Point3)</a><br />
29
- <a href="classes/Eymiha/Point3.html#M000068">== (Eymiha::Point3)</a><br />
30
- <a href="classes/Eymiha/Point3s.html#M000104">== (Eymiha::Point3s)</a><br />
31
- <a href="classes/Eymiha/Point3c.html#M000054">== (Eymiha::Point3c)</a><br />
32
- <a href="classes/Eymiha/Quaternion.html#M000019">== (Eymiha::Quaternion)</a><br />
33
- <a href="classes/Eymiha/Point3.html#M000070">=~ (Eymiha::Point3)</a><br />
34
- <a href="classes/Eymiha/Point3s.html#M000106">=~ (Eymiha::Point3s)</a><br />
35
- <a href="classes/Eymiha/Point3c.html#M000056">=~ (Eymiha::Point3c)</a><br />
36
- <a href="classes/Eymiha/Quaternion.html#M000021">=~ (Eymiha::Quaternion)</a><br />
37
- <a href="classes/Eymiha/Quaternion.html#M000039">abs (Eymiha::Quaternion)</a><br />
38
- <a href="classes/Eymiha/Point3.html#M000083">add (Eymiha::Point3)</a><br />
39
- <a href="classes/Eymiha/Envelope3.html#M000046">add (Eymiha::Envelope3)</a><br />
40
- <a href="classes/Eymiha/Quaternion.html#M000025">add (Eymiha::Quaternion)</a><br />
41
- <a href="classes/Eymiha/Point3.html#M000085">add! (Eymiha::Point3)</a><br />
42
- <a href="classes/Eymiha/Quaternion.html#M000027">add! (Eymiha::Quaternion)</a><br />
43
- <a href="classes/Eymiha/Point3.html#M000069">approximately_equals? (Eymiha::Point3)</a><br />
44
- <a href="classes/Eymiha/Quaternion.html#M000020">approximately_equals? (Eymiha::Quaternion)</a><br />
45
- <a href="classes/Eymiha/Point3s.html#M000105">approximately_equals? (Eymiha::Point3s)</a><br />
46
- <a href="classes/Eymiha/Point3c.html#M000055">approximately_equals? (Eymiha::Point3c)</a><br />
47
- <a href="classes/Eymiha/Point3.html#M000075">c_radius (Eymiha::Point3)</a><br />
48
- <a href="classes/Eymiha/Point3s.html#M000113">c_radius (Eymiha::Point3s)</a><br />
49
- <a href="classes/Eymiha/Quaternion.html#M000036">conjugate (Eymiha::Quaternion)</a><br />
50
- <a href="classes/Eymiha/Quaternion.html#M000037">conjugate! (Eymiha::Quaternion)</a><br />
51
- <a href="classes/Eymiha/Envelope3.html#M000049">contains? (Eymiha::Envelope3)</a><br />
52
- <a href="classes/Eymiha/Point3.html#M000096">cross (Eymiha::Point3)</a><br />
53
- <a href="classes/Eymiha/Point3.html#M000097">cross! (Eymiha::Point3)</a><br />
54
- <a href="classes/Eymiha/Point3.html#M000078">distance_to (Eymiha::Point3)</a><br />
55
- <a href="classes/Eymiha/Quaternion.html#M000042">divide (Eymiha::Quaternion)</a><br />
56
- <a href="classes/Eymiha/Quaternion.html#M000043">divide! (Eymiha::Quaternion)</a><br />
57
- <a href="classes/Eymiha/Point3.html#M000080">dot (Eymiha::Point3)</a><br />
58
- <a href="classes/Eymiha/Quaternion.html#M000023">from_axis_angle (Eymiha::Quaternion)</a><br />
59
- <a href="classes/Eymiha/ThreeDimensions.html#M000008">half_pi (Eymiha::ThreeDimensions)</a><br />
60
- <a href="classes/Eymiha/Envelope3.html#M000047">high (Eymiha::Envelope3)</a><br />
61
- <a href="classes/Eymiha/Quaternion.html#M000040">inverse (Eymiha::Quaternion)</a><br />
62
- <a href="classes/Eymiha/Quaternion.html#M000041">inverse! (Eymiha::Quaternion)</a><br />
63
- <a href="classes/Eymiha/Envelope3.html#M000048">low (Eymiha::Envelope3)</a><br />
64
- <a href="classes/Eymiha/Point3.html#M000081">mirror (Eymiha::Point3)</a><br />
65
- <a href="classes/Eymiha/Point3.html#M000082">mirror! (Eymiha::Point3)</a><br />
66
- <a href="classes/Eymiha/Point3.html#M000079">modulus (Eymiha::Point3)</a><br />
67
- <a href="classes/Eymiha/Point3.html#M000089">multiply (Eymiha::Point3)</a><br />
68
- <a href="classes/Eymiha/Quaternion.html#M000031">multiply (Eymiha::Quaternion)</a><br />
69
- <a href="classes/Eymiha/Quaternion.html#M000033">multiply! (Eymiha::Quaternion)</a><br />
70
- <a href="classes/Eymiha/Point3.html#M000091">multiply! (Eymiha::Point3)</a><br />
71
- <a href="classes/Eymiha/Envelope3.html#M000044">new (Eymiha::Envelope3)</a><br />
72
- <a href="classes/Eymiha/Quaternion.html#M000016">new (Eymiha::Quaternion)</a><br />
73
- <a href="classes/Eymiha/Point3c.html#M000051">new (Eymiha::Point3c)</a><br />
74
- <a href="classes/Eymiha/Point3.html#M000065">new (Eymiha::Point3)</a><br />
75
- <a href="classes/Eymiha/Point3s.html#M000101">new (Eymiha::Point3s)</a><br />
76
- <a href="classes/Eymiha/Quaternion.html#M000038">norm (Eymiha::Quaternion)</a><br />
77
- <a href="classes/Eymiha/Point3.html#M000064">origin (Eymiha::Point3)</a><br />
78
- <a href="classes/Eymiha/ThreeDimensions.html#M000011">origin (Eymiha::ThreeDimensions)</a><br />
79
- <a href="classes/Eymiha/Point3c.html#M000063">phi (Eymiha::Point3c)</a><br />
80
- <a href="classes/Eymiha/Point3.html#M000077">phi (Eymiha::Point3)</a><br />
81
- <a href="classes/Eymiha/Point3s.html#M000100">phi= (Eymiha::Point3s)</a><br />
82
- <a href="classes/Eymiha/ThreeDimensions.html#M000007">pi (Eymiha::ThreeDimensions)</a><br />
83
- <a href="classes/Eymiha/Point3c.html#M000057">point3 (Eymiha::Point3c)</a><br />
84
- <a href="classes/Eymiha/Point3s.html#M000107">point3 (Eymiha::Point3s)</a><br />
85
- <a href="classes/Eymiha/Point3.html#M000071">point3 (Eymiha::Point3)</a><br />
86
- <a href="classes/Eymiha/ThreeDimensions.html#M000012">point3 (Eymiha::ThreeDimensions)</a><br />
87
- <a href="classes/Object.html#M000003">point3_like? (Object)</a><br />
88
- <a href="classes/Eymiha/Point3s.html#M000109">point3c (Eymiha::Point3s)</a><br />
89
- <a href="classes/Eymiha/Point3.html#M000073">point3c (Eymiha::Point3)</a><br />
90
- <a href="classes/Eymiha/Point3c.html#M000059">point3c (Eymiha::Point3c)</a><br />
91
- <a href="classes/Eymiha/ThreeDimensions.html#M000014">point3c (Eymiha::ThreeDimensions)</a><br />
92
- <a href="classes/Object.html#M000005">point3c_like? (Object)</a><br />
93
- <a href="classes/Eymiha/Point3.html#M000072">point3s (Eymiha::Point3)</a><br />
94
- <a href="classes/Eymiha/ThreeDimensions.html#M000013">point3s (Eymiha::ThreeDimensions)</a><br />
95
- <a href="classes/Eymiha/Point3c.html#M000058">point3s (Eymiha::Point3c)</a><br />
96
- <a href="classes/Eymiha/Point3s.html#M000108">point3s (Eymiha::Point3s)</a><br />
97
- <a href="classes/Object.html#M000004">point3s_like? (Object)</a><br />
98
- <a href="classes/Eymiha/Quaternion.html#M000022">quaternion (Eymiha::Quaternion)</a><br />
99
- <a href="classes/Eymiha/ThreeDimensions.html#M000015">quaternion (Eymiha::ThreeDimensions)</a><br />
100
- <a href="classes/Numeric.html#M000002">rectify_phi (Numeric)</a><br />
101
- <a href="classes/Numeric.html#M000001">rectify_theta (Numeric)</a><br />
102
- <a href="classes/Eymiha/Point3c.html#M000062">s_radius (Eymiha::Point3c)</a><br />
103
- <a href="classes/Eymiha/Point3.html#M000074">s_radius (Eymiha::Point3)</a><br />
104
- <a href="classes/Eymiha/Point3.html#M000092">scale (Eymiha::Point3)</a><br />
105
- <a href="classes/Eymiha/Quaternion.html#M000034">scale (Eymiha::Quaternion)</a><br />
106
- <a href="classes/Eymiha/Point3.html#M000093">scale! (Eymiha::Point3)</a><br />
107
- <a href="classes/Eymiha/Quaternion.html#M000035">scale! (Eymiha::Quaternion)</a><br />
108
- <a href="classes/Eymiha/Quaternion.html#M000018">set (Eymiha::Quaternion)</a><br />
109
- <a href="classes/Eymiha/Point3c.html#M000053">set (Eymiha::Point3c)</a><br />
110
- <a href="classes/Eymiha/Point3.html#M000067">set (Eymiha::Point3)</a><br />
111
- <a href="classes/Eymiha/Point3s.html#M000103">set (Eymiha::Point3s)</a><br />
112
- <a href="classes/Eymiha/ThreeDimensions.html#M000009">sqrt2 (Eymiha::ThreeDimensions)</a><br />
113
- <a href="classes/Eymiha/ThreeDimensions.html#M000010">sqrt3 (Eymiha::ThreeDimensions)</a><br />
114
- <a href="classes/Eymiha/Point3.html#M000086">subtract (Eymiha::Point3)</a><br />
115
- <a href="classes/Eymiha/Quaternion.html#M000028">subtract (Eymiha::Quaternion)</a><br />
116
- <a href="classes/Eymiha/Quaternion.html#M000030">subtract! (Eymiha::Quaternion)</a><br />
117
- <a href="classes/Eymiha/Point3.html#M000088">subtract! (Eymiha::Point3)</a><br />
118
- <a href="classes/Eymiha/Point3.html#M000076">theta (Eymiha::Point3)</a><br />
119
- <a href="classes/Eymiha/Point3c.html#M000050">theta= (Eymiha::Point3c)</a><br />
120
- <a href="classes/Eymiha/Point3s.html#M000099">theta= (Eymiha::Point3s)</a><br />
121
- <a href="classes/Eymiha/Point3.html#M000098">to_along (Eymiha::Point3)</a><br />
122
- <a href="classes/Eymiha/Quaternion.html#M000024">to_axis_angle (Eymiha::Quaternion)</a><br />
123
- <a href="classes/Eymiha/Quaternion.html#M000017">to_s (Eymiha::Quaternion)</a><br />
124
- <a href="classes/Eymiha/Point3s.html#M000102">to_s (Eymiha::Point3s)</a><br />
125
- <a href="classes/Eymiha/Point3.html#M000066">to_s (Eymiha::Point3)</a><br />
126
- <a href="classes/Eymiha/Envelope3.html#M000045">to_s (Eymiha::Envelope3)</a><br />
127
- <a href="classes/Eymiha/Point3c.html#M000052">to_s (Eymiha::Point3c)</a><br />
128
- <a href="classes/Eymiha/ThreeDimensions.html#M000006">two_pi (Eymiha::ThreeDimensions)</a><br />
129
- <a href="classes/Eymiha/Point3.html#M000094">unit (Eymiha::Point3)</a><br />
130
- <a href="classes/Eymiha/Point3.html#M000095">unit! (Eymiha::Point3)</a><br />
131
- <a href="classes/Eymiha/Point3c.html#M000060">x (Eymiha::Point3c)</a><br />
132
- <a href="classes/Eymiha/Point3s.html#M000110">x (Eymiha::Point3s)</a><br />
133
- <a href="classes/Eymiha/Point3s.html#M000111">y (Eymiha::Point3s)</a><br />
134
- <a href="classes/Eymiha/Point3c.html#M000061">y (Eymiha::Point3c)</a><br />
135
- <a href="classes/Eymiha/Point3s.html#M000112">z (Eymiha::Point3s)</a><br />
136
- </div>
137
- </div>
138
- </body>
139
- </html>
data/html/index.html DELETED
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
5
-
6
- <!--
7
-
8
- RDoc Documentation
9
-
10
- -->
11
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
12
- <head>
13
- <title>RDoc Documentation</title>
14
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
- </head>
16
- <frameset rows="20%, 80%">
17
- <frameset cols="25%,35%,45%">
18
- <frame src="fr_file_index.html" title="Files" name="Files" />
19
- <frame src="fr_class_index.html" name="Classes" />
20
- <frame src="fr_method_index.html" name="Methods" />
21
- </frameset>
22
- <frame src="files/lib/eymiha/math3/envelope3_rb.html" name="docwin" />
23
- </frameset>
24
- </html>
data/html/rdoc-style.css DELETED
@@ -1,208 +0,0 @@
1
-
2
- body {
3
- font-family: Verdana,Arial,Helvetica,sans-serif;
4
- font-size: 90%;
5
- margin: 0;
6
- margin-left: 40px;
7
- padding: 0;
8
- background: white;
9
- }
10
-
11
- h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
12
- h1 { font-size: 150%; }
13
- h2,h3,h4 { margin-top: 1em; }
14
-
15
- a { background: #eef; color: #039; text-decoration: none; }
16
- a:hover { background: #039; color: #eef; }
17
-
18
- /* Override the base stylesheet's Anchor inside a table cell */
19
- td > a {
20
- background: transparent;
21
- color: #039;
22
- text-decoration: none;
23
- }
24
-
25
- /* and inside a section title */
26
- .section-title > a {
27
- background: transparent;
28
- color: #eee;
29
- text-decoration: none;
30
- }
31
-
32
- /* === Structural elements =================================== */
33
-
34
- div#index {
35
- margin: 0;
36
- margin-left: -40px;
37
- padding: 0;
38
- font-size: 90%;
39
- }
40
-
41
-
42
- div#index a {
43
- margin-left: 0.7em;
44
- }
45
-
46
- div#index .section-bar {
47
- margin-left: 0px;
48
- padding-left: 0.7em;
49
- background: #ccc;
50
- font-size: small;
51
- }
52
-
53
-
54
- div#classHeader, div#fileHeader {
55
- width: auto;
56
- color: white;
57
- padding: 0.5em 1.5em 0.5em 1.5em;
58
- margin: 0;
59
- margin-left: -40px;
60
- border-bottom: 3px solid #006;
61
- }
62
-
63
- div#classHeader a, div#fileHeader a {
64
- background: inherit;
65
- color: white;
66
- }
67
-
68
- div#classHeader td, div#fileHeader td {
69
- background: inherit;
70
- color: white;
71
- }
72
-
73
-
74
- div#fileHeader {
75
- background: #057;
76
- }
77
-
78
- div#classHeader {
79
- background: #048;
80
- }
81
-
82
-
83
- .class-name-in-header {
84
- font-size: 180%;
85
- font-weight: bold;
86
- }
87
-
88
-
89
- div#bodyContent {
90
- padding: 0 1.5em 0 1.5em;
91
- }
92
-
93
- div#description {
94
- padding: 0.5em 1.5em;
95
- background: #efefef;
96
- border: 1px dotted #999;
97
- }
98
-
99
- div#description h1,h2,h3,h4,h5,h6 {
100
- color: #125;;
101
- background: transparent;
102
- }
103
-
104
- div#validator-badges {
105
- text-align: center;
106
- }
107
- div#validator-badges img { border: 0; }
108
-
109
- div#copyright {
110
- color: #333;
111
- background: #efefef;
112
- font: 0.75em sans-serif;
113
- margin-top: 5em;
114
- margin-bottom: 0;
115
- padding: 0.5em 2em;
116
- }
117
-
118
-
119
- /* === Classes =================================== */
120
-
121
- table.header-table {
122
- color: white;
123
- font-size: small;
124
- }
125
-
126
- .type-note {
127
- font-size: small;
128
- color: #DEDEDE;
129
- }
130
-
131
- .xxsection-bar {
132
- background: #eee;
133
- color: #333;
134
- padding: 3px;
135
- }
136
-
137
- .section-bar {
138
- color: #333;
139
- border-bottom: 1px solid #999;
140
- margin-left: -20px;
141
- }
142
-
143
-
144
- .section-title {
145
- background: #79a;
146
- color: #eee;
147
- padding: 3px;
148
- margin-top: 2em;
149
- margin-left: -30px;
150
- border: 1px solid #999;
151
- }
152
-
153
- .top-aligned-row { vertical-align: top }
154
- .bottom-aligned-row { vertical-align: bottom }
155
-
156
- /* --- Context section classes ----------------------- */
157
-
158
- .context-row { }
159
- .context-item-name { font-family: monospace; font-weight: bold; color: black; }
160
- .context-item-value { font-size: small; color: #448; }
161
- .context-item-desc { color: #333; padding-left: 2em; }
162
-
163
- /* --- Method classes -------------------------- */
164
- .method-detail {
165
- background: #efefef;
166
- padding: 0;
167
- margin-top: 0.5em;
168
- margin-bottom: 1em;
169
- border: 1px dotted #ccc;
170
- }
171
- .method-heading {
172
- color: black;
173
- background: #ccc;
174
- border-bottom: 1px solid #666;
175
- padding: 0.2em 0.5em 0 0.5em;
176
- }
177
- .method-signature { color: black; background: inherit; }
178
- .method-name { font-weight: bold; }
179
- .method-args { font-style: italic; }
180
- .method-description { padding: 0 0.5em 0 0.5em; }
181
-
182
- /* --- Source code sections -------------------- */
183
-
184
- a.source-toggle { font-size: 90%; }
185
- div.method-source-code {
186
- background: #262626;
187
- color: #ffdead;
188
- margin: 1em;
189
- padding: 0.5em;
190
- border: 1px dashed #999;
191
- overflow: hidden;
192
- }
193
-
194
- div.method-source-code pre { color: #ffdead; overflow: hidden; }
195
-
196
- /* --- Ruby keyword styles --------------------- */
197
-
198
- .standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
199
-
200
- .ruby-constant { color: #7fffd4; background: transparent; }
201
- .ruby-keyword { color: #00ffff; background: transparent; }
202
- .ruby-ivar { color: #eedd82; background: transparent; }
203
- .ruby-operator { color: #00ffee; background: transparent; }
204
- .ruby-identifier { color: #ffdead; background: transparent; }
205
- .ruby-node { color: #ffa07a; background: transparent; }
206
- .ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
207
- .ruby-regexp { color: #ffa07a; background: transparent; }
208
- .ruby-value { color: #7fffd4; background: transparent; }
data/lib/#envelope3.rb# DELETED
@@ -1,96 +0,0 @@
1
- require 'eymiha/math3'
2
- require 'envelope'
3
-
4
- # Envelope3 is the minimum 3D envelope that will completely contain a set of
5
- # 3D points. 3D cartersian points or other 3D envelopes may be added to an
6
- # instance, and it can return the number or points considered so far, the
7
- # x, y and z envelopes, and the high and low Point3 boundaries.
8
- class Envelope3 < BaseEnvelope
9
-
10
- include ThreeDimensions
11
-
12
- # 3D cartesian x coordinate envelope reader.
13
- attr_reader :x
14
- # 3D cartesian y coordinate envelope reader.
15
- attr_reader :y
16
- # 3D cartesian z coordinate envelope reader.
17
- attr_reader :z
18
-
19
- # Creates and returns an instance. If arguments are given, they are passed to
20
- # the set method to initialize the new instance.
21
- def initialize(x=nil,y=0,z=0)
22
- super()
23
- @x = Envelope.new
24
- @y = Envelope.new
25
- @z = Envelope.new
26
- add(x,y,z) unless x == nil
27
- end
28
-
29
- # Returns a string representation of the instance.
30
- def to_s
31
- values = (count > 0)? "\n high #{high}\n low #{low}" : ""
32
- "Envelope3: count #{count}#{values}"
33
- end
34
-
35
- # Adds a value to the instance. When
36
- # * x is an Envelope3, it is coalesced into the instance.
37
- # * x responds like a Point3, its coordinates are added.
38
- # * x us Numeric, the arguments are added.
39
- # * otherwise, an EnvelopeException is raised.
40
- # The modified instance is returned.
41
- def add(x=0,y=0,z=0)
42
- if x.kind_of? Envelope3
43
- count = x.count
44
- if count > 0
45
- add x.high
46
- add x.low
47
- @count += (count-2)
48
- end
49
- self
50
- elsif x.point3_like?
51
- add x.x, x.y, x.z
52
- elsif x.kind_of? Numeric
53
- @x.add x
54
- @y.add y
55
- @z.add z
56
- @count += 1
57
- self
58
- else
59
- raise_no_compare x
60
- end
61
- end
62
-
63
- # Returns a Point3 whose coordinates are the high values of the x, y, and z
64
- # envelopes.
65
- # * if there are no boundaries, an EnvelopeException is raised.
66
- def high
67
- raise_no_envelope if @count == 0
68
- (@high ||= Point3.new).set @x.high, @y.high, @z.high
69
- end
70
-
71
- # Returns a Point3 whose coordinates are the low values of the x, y, and z
72
- # envelopes.
73
- # * if there are no boundaries, an EnvelopeException is raised.
74
- def low
75
- raise_no_envelope if @count == 0
76
- (@low ||= Point3.new).set @x.low, @y.low, @z.low
77
- end
78
-
79
- # Returns true if the instance completely contains the arguments:
80
- # * x is an Envelope3, its high and low are contained.
81
- # * x responds like a Point3, its coordinates are contained.
82
- # * x is Numeric, the arguments are contained.
83
- # * otherwise, false is returned.
84
- def contains?(x=0,y=0,z=0)
85
- if x.kind_of? Envelope3
86
- (contains? x.high) && (contains? x.low)
87
- elsif x.point3_like?
88
- contains?(x.x,x.y,x.z)
89
- elsif x.kind_of? Numeric
90
- (@x.contains? x) && (@y.contains? y) && (@z.contains? z)
91
- else
92
- raise_no_compare x
93
- end
94
- end
95
-
96
- end