eymiha_math3 0.1.0 → 1.0.0
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.
- data/gem_package.rb +3 -3
- data/html/classes/Eymiha.html +143 -0
- data/html/classes/Eymiha/Envelope3.html +333 -0
- data/html/classes/Eymiha/Envelope3.src/M000044.html +22 -0
- data/html/classes/Eymiha/Envelope3.src/M000045.html +19 -0
- data/html/classes/Eymiha/Envelope3.src/M000046.html +36 -0
- data/html/classes/Eymiha/Envelope3.src/M000047.html +19 -0
- data/html/classes/Eymiha/Envelope3.src/M000048.html +19 -0
- data/html/classes/Eymiha/Envelope3.src/M000049.html +26 -0
- data/html/classes/Eymiha/Point3.html +962 -0
- data/html/classes/Eymiha/Point3.src/M000064.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000065.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000066.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000067.html +25 -0
- data/html/classes/Eymiha/Point3.src/M000068.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000069.html +20 -0
- data/html/classes/Eymiha/Point3.src/M000071.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000072.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000073.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000074.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000075.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000076.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000077.html +19 -0
- data/html/classes/Eymiha/Point3.src/M000078.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000079.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000080.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000081.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000082.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000083.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000085.html +24 -0
- data/html/classes/Eymiha/Point3.src/M000086.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000088.html +24 -0
- data/html/classes/Eymiha/Point3.src/M000089.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000091.html +24 -0
- data/html/classes/Eymiha/Point3.src/M000092.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000093.html +24 -0
- data/html/classes/Eymiha/Point3.src/M000094.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000095.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000096.html +18 -0
- data/html/classes/Eymiha/Point3.src/M000097.html +30 -0
- data/html/classes/Eymiha/Point3.src/M000098.html +19 -0
- data/html/classes/Eymiha/Point3c.html +493 -0
- data/html/classes/Eymiha/Point3c.src/M000050.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000051.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000052.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000053.html +25 -0
- data/html/classes/Eymiha/Point3c.src/M000054.html +19 -0
- data/html/classes/Eymiha/Point3c.src/M000055.html +22 -0
- data/html/classes/Eymiha/Point3c.src/M000057.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000058.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000059.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000060.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000061.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000062.html +18 -0
- data/html/classes/Eymiha/Point3c.src/M000063.html +19 -0
- data/html/classes/Eymiha/Point3s.html +512 -0
- data/html/classes/Eymiha/Point3s.src/M000099.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000100.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000101.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000102.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000103.html +26 -0
- data/html/classes/Eymiha/Point3s.src/M000104.html +19 -0
- data/html/classes/Eymiha/Point3s.src/M000105.html +21 -0
- data/html/classes/Eymiha/Point3s.src/M000107.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000108.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000109.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000110.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000111.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000112.html +18 -0
- data/html/classes/Eymiha/Point3s.src/M000113.html +18 -0
- data/html/classes/Eymiha/Quaternion.html +791 -0
- data/html/classes/Eymiha/Quaternion.src/M000016.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000017.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000018.html +26 -0
- data/html/classes/Eymiha/Quaternion.src/M000019.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000020.html +19 -0
- data/html/classes/Eymiha/Quaternion.src/M000022.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000023.html +20 -0
- data/html/classes/Eymiha/Quaternion.src/M000024.html +22 -0
- data/html/classes/Eymiha/Quaternion.src/M000025.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000027.html +25 -0
- data/html/classes/Eymiha/Quaternion.src/M000028.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000030.html +25 -0
- data/html/classes/Eymiha/Quaternion.src/M000031.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000033.html +30 -0
- data/html/classes/Eymiha/Quaternion.src/M000034.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000035.html +24 -0
- data/html/classes/Eymiha/Quaternion.src/M000036.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000037.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000038.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000039.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000040.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000041.html +19 -0
- data/html/classes/Eymiha/Quaternion.src/M000042.html +18 -0
- data/html/classes/Eymiha/Quaternion.src/M000043.html +25 -0
- data/html/classes/Eymiha/ThreeDimensions.html +297 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000006.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000007.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000008.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000009.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000010.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000011.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000012.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000013.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000014.html +18 -0
- data/html/classes/Eymiha/ThreeDimensions.src/M000015.html +18 -0
- data/html/classes/Numeric.html +167 -0
- data/html/classes/Numeric.src/M000001.html +18 -0
- data/html/classes/Numeric.src/M000002.html +18 -0
- data/html/classes/Object.html +187 -0
- data/html/classes/Object.src/M000003.html +18 -0
- data/html/classes/Object.src/M000004.html +18 -0
- data/html/classes/Object.src/M000005.html +18 -0
- data/html/created.rid +1 -0
- data/html/files/lib/eymiha/math3/envelope3_rb.html +109 -0
- data/html/files/lib/eymiha/math3/math3_rb.html +109 -0
- data/html/files/lib/eymiha/math3/point3_rb.html +108 -0
- data/html/files/lib/eymiha/math3/point3c_rb.html +108 -0
- data/html/files/lib/eymiha/math3/point3s_rb.html +108 -0
- data/html/files/lib/eymiha/math3/quaternion_rb.html +108 -0
- data/html/files/lib/eymiha/math3_rb.html +113 -0
- data/html/fr_class_index.html +35 -0
- data/html/fr_file_index.html +33 -0
- data/html/fr_method_index.html +139 -0
- data/html/index.html +24 -0
- data/html/rdoc-style.css +208 -0
- data/lib/{envelope3.rb → #envelope3.rb#} +2 -2
- data/test/tc_envelope3.rb +4 -3
- data/test/tc_point3.rb +4 -3
- data/test/tc_point3c.rb +4 -3
- data/test/tc_point3s.rb +4 -3
- data/test/tc_quaternion.rb +4 -3
- metadata +146 -11
- data/lib/eymiha_math3.rb +0 -105
- data/lib/point3.rb +0 -276
- data/lib/point3c.rb +0 -123
- data/lib/point3s.rb +0 -128
- data/lib/quaternion.rb +0 -242
data/gem_package.rb
CHANGED
|
@@ -4,7 +4,7 @@ class GemPackage
|
|
|
4
4
|
|
|
5
5
|
def initialize
|
|
6
6
|
@name = 'eymiha_math3'
|
|
7
|
-
@version = '
|
|
7
|
+
@version = '1.0.0'
|
|
8
8
|
@files = FileList[
|
|
9
9
|
'*.rb',
|
|
10
10
|
'lib/*',
|
|
@@ -26,8 +26,8 @@ class GemPackage
|
|
|
26
26
|
s.email = "dave@eymiha.com"
|
|
27
27
|
s.homepage = "http://www.eymiha.com"
|
|
28
28
|
s.rubyforge_project = "cori"
|
|
29
|
-
s.add_dependency("eymiha",">=
|
|
30
|
-
s.add_dependency("eymiha_math",">=
|
|
29
|
+
s.add_dependency("eymiha",">= 1.0.0")
|
|
30
|
+
s.add_dependency("eymiha_math",">= 1.0.0")
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
end
|
|
@@ -0,0 +1,143 @@
|
|
|
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>
|
|
@@ -0,0 +1,333 @@
|
|
|
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>Class: Eymiha::Envelope3</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>Class</strong></td>
|
|
53
|
+
<td class="class-name-in-header">Eymiha::Envelope3</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
|
+
</td>
|
|
63
|
+
</tr>
|
|
64
|
+
|
|
65
|
+
<tr class="top-aligned-row">
|
|
66
|
+
<td><strong>Parent:</strong></td>
|
|
67
|
+
<td>
|
|
68
|
+
BaseEnvelope
|
|
69
|
+
</td>
|
|
70
|
+
</tr>
|
|
71
|
+
</table>
|
|
72
|
+
</div>
|
|
73
|
+
<!-- banner header -->
|
|
74
|
+
|
|
75
|
+
<div id="bodyContent">
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
<div id="contextContent">
|
|
80
|
+
|
|
81
|
+
<div id="description">
|
|
82
|
+
<p>
|
|
83
|
+
<a href="Envelope3.html">Envelope3</a> is the minimum 3D envelope that will
|
|
84
|
+
completely contain a set of 3D points. 3D cartersian points or other 3D
|
|
85
|
+
envelopes may be added to an instance, and it can return the number or
|
|
86
|
+
points considered so far, the x, y and z envelopes, and the <a
|
|
87
|
+
href="Envelope3.html#M000047">high</a> and <a
|
|
88
|
+
href="Envelope3.html#M000048">low</a> <a href="Point3.html">Point3</a>
|
|
89
|
+
boundaries.
|
|
90
|
+
</p>
|
|
91
|
+
|
|
92
|
+
</div>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<div id="method-list">
|
|
98
|
+
<h3 class="section-bar">Methods</h3>
|
|
99
|
+
|
|
100
|
+
<div class="name-list">
|
|
101
|
+
<a href="#M000046">add</a>
|
|
102
|
+
<a href="#M000049">contains?</a>
|
|
103
|
+
<a href="#M000047">high</a>
|
|
104
|
+
<a href="#M000048">low</a>
|
|
105
|
+
<a href="#M000044">new</a>
|
|
106
|
+
<a href="#M000045">to_s</a>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<!-- if includes -->
|
|
114
|
+
<div id="includes">
|
|
115
|
+
<h3 class="section-bar">Included Modules</h3>
|
|
116
|
+
|
|
117
|
+
<div id="includes-list">
|
|
118
|
+
<span class="include-name"><a href="ThreeDimensions.html">ThreeDimensions</a></span>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<div id="section">
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<div id="attribute-list">
|
|
129
|
+
<h3 class="section-bar">Attributes</h3>
|
|
130
|
+
|
|
131
|
+
<div class="name-list">
|
|
132
|
+
<table>
|
|
133
|
+
<tr class="top-aligned-row context-row">
|
|
134
|
+
<td class="context-item-name">x</td>
|
|
135
|
+
<td class="context-item-value"> [R] </td>
|
|
136
|
+
<td class="context-item-desc">
|
|
137
|
+
3D cartesian x coordinate envelope reader.
|
|
138
|
+
|
|
139
|
+
</td>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr class="top-aligned-row context-row">
|
|
142
|
+
<td class="context-item-name">y</td>
|
|
143
|
+
<td class="context-item-value"> [R] </td>
|
|
144
|
+
<td class="context-item-desc">
|
|
145
|
+
3D cartesian y coordinate envelope reader.
|
|
146
|
+
|
|
147
|
+
</td>
|
|
148
|
+
</tr>
|
|
149
|
+
<tr class="top-aligned-row context-row">
|
|
150
|
+
<td class="context-item-name">z</td>
|
|
151
|
+
<td class="context-item-value"> [R] </td>
|
|
152
|
+
<td class="context-item-desc">
|
|
153
|
+
3D cartesian z coordinate envelope reader.
|
|
154
|
+
|
|
155
|
+
</td>
|
|
156
|
+
</tr>
|
|
157
|
+
</table>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
<!-- if method_list -->
|
|
164
|
+
<div id="methods">
|
|
165
|
+
<h3 class="section-bar">Public Class methods</h3>
|
|
166
|
+
|
|
167
|
+
<div id="method-M000044" class="method-detail">
|
|
168
|
+
<a name="M000044"></a>
|
|
169
|
+
|
|
170
|
+
<div class="method-heading">
|
|
171
|
+
<a href="Envelope3.src/M000044.html" target="Code" class="method-signature"
|
|
172
|
+
onclick="popupCode('Envelope3.src/M000044.html');return false;">
|
|
173
|
+
<span class="method-name">new</span><span class="method-args">(x=nil,y=0,z=0)</span>
|
|
174
|
+
</a>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<div class="method-description">
|
|
178
|
+
<p>
|
|
179
|
+
Creates and returns an instance. If arguments are given, they are passed to
|
|
180
|
+
the set method to initialize the <a href="Envelope3.html#M000044">new</a>
|
|
181
|
+
instance.
|
|
182
|
+
</p>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
|
|
186
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
187
|
+
|
|
188
|
+
<div id="method-M000046" class="method-detail">
|
|
189
|
+
<a name="M000046"></a>
|
|
190
|
+
|
|
191
|
+
<div class="method-heading">
|
|
192
|
+
<a href="Envelope3.src/M000046.html" target="Code" class="method-signature"
|
|
193
|
+
onclick="popupCode('Envelope3.src/M000046.html');return false;">
|
|
194
|
+
<span class="method-name">add</span><span class="method-args">(x=0,y=0,z=0)</span>
|
|
195
|
+
</a>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
<div class="method-description">
|
|
199
|
+
<p>
|
|
200
|
+
Adds a value to the instance. When
|
|
201
|
+
</p>
|
|
202
|
+
<ul>
|
|
203
|
+
<li>x is an <a href="Envelope3.html">Envelope3</a>, it is coalesced into the
|
|
204
|
+
instance.
|
|
205
|
+
|
|
206
|
+
</li>
|
|
207
|
+
<li>x responds like a <a href="Point3.html">Point3</a>, its coordinates are
|
|
208
|
+
added.
|
|
209
|
+
|
|
210
|
+
</li>
|
|
211
|
+
<li>x us <a href="../Numeric.html">Numeric</a>, the arguments are added.
|
|
212
|
+
|
|
213
|
+
</li>
|
|
214
|
+
<li>otherwise, an EnvelopeException is raised.
|
|
215
|
+
|
|
216
|
+
</li>
|
|
217
|
+
</ul>
|
|
218
|
+
<p>
|
|
219
|
+
The modified instance is returned.
|
|
220
|
+
</p>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<div id="method-M000049" class="method-detail">
|
|
225
|
+
<a name="M000049"></a>
|
|
226
|
+
|
|
227
|
+
<div class="method-heading">
|
|
228
|
+
<a href="Envelope3.src/M000049.html" target="Code" class="method-signature"
|
|
229
|
+
onclick="popupCode('Envelope3.src/M000049.html');return false;">
|
|
230
|
+
<span class="method-name">contains?</span><span class="method-args">(x=0,y=0,z=0)</span>
|
|
231
|
+
</a>
|
|
232
|
+
</div>
|
|
233
|
+
|
|
234
|
+
<div class="method-description">
|
|
235
|
+
<p>
|
|
236
|
+
Returns true if the instance completely contains the arguments:
|
|
237
|
+
</p>
|
|
238
|
+
<ul>
|
|
239
|
+
<li>x is an <a href="Envelope3.html">Envelope3</a>, its <a
|
|
240
|
+
href="Envelope3.html#M000047">high</a> and <a
|
|
241
|
+
href="Envelope3.html#M000048">low</a> are contained.
|
|
242
|
+
|
|
243
|
+
</li>
|
|
244
|
+
<li>x responds like a <a href="Point3.html">Point3</a>, its coordinates are
|
|
245
|
+
contained.
|
|
246
|
+
|
|
247
|
+
</li>
|
|
248
|
+
<li>x is <a href="../Numeric.html">Numeric</a>, the arguments are contained.
|
|
249
|
+
|
|
250
|
+
</li>
|
|
251
|
+
<li>otherwise, false is returned.
|
|
252
|
+
|
|
253
|
+
</li>
|
|
254
|
+
</ul>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
<div id="method-M000047" class="method-detail">
|
|
259
|
+
<a name="M000047"></a>
|
|
260
|
+
|
|
261
|
+
<div class="method-heading">
|
|
262
|
+
<a href="Envelope3.src/M000047.html" target="Code" class="method-signature"
|
|
263
|
+
onclick="popupCode('Envelope3.src/M000047.html');return false;">
|
|
264
|
+
<span class="method-name">high</span><span class="method-args">()</span>
|
|
265
|
+
</a>
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
<div class="method-description">
|
|
269
|
+
<p>
|
|
270
|
+
Returns a <a href="Point3.html">Point3</a> whose coordinates are the <a
|
|
271
|
+
href="Envelope3.html#M000047">high</a> values of the x, y, and z envelopes.
|
|
272
|
+
</p>
|
|
273
|
+
<ul>
|
|
274
|
+
<li>if there are no boundaries, an EnvelopeException is raised.
|
|
275
|
+
|
|
276
|
+
</li>
|
|
277
|
+
</ul>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
<div id="method-M000048" class="method-detail">
|
|
282
|
+
<a name="M000048"></a>
|
|
283
|
+
|
|
284
|
+
<div class="method-heading">
|
|
285
|
+
<a href="Envelope3.src/M000048.html" target="Code" class="method-signature"
|
|
286
|
+
onclick="popupCode('Envelope3.src/M000048.html');return false;">
|
|
287
|
+
<span class="method-name">low</span><span class="method-args">()</span>
|
|
288
|
+
</a>
|
|
289
|
+
</div>
|
|
290
|
+
|
|
291
|
+
<div class="method-description">
|
|
292
|
+
<p>
|
|
293
|
+
Returns a <a href="Point3.html">Point3</a> whose coordinates are the <a
|
|
294
|
+
href="Envelope3.html#M000048">low</a> values of the x, y, and z envelopes.
|
|
295
|
+
</p>
|
|
296
|
+
<ul>
|
|
297
|
+
<li>if there are no boundaries, an EnvelopeException is raised.
|
|
298
|
+
|
|
299
|
+
</li>
|
|
300
|
+
</ul>
|
|
301
|
+
</div>
|
|
302
|
+
</div>
|
|
303
|
+
|
|
304
|
+
<div id="method-M000045" class="method-detail">
|
|
305
|
+
<a name="M000045"></a>
|
|
306
|
+
|
|
307
|
+
<div class="method-heading">
|
|
308
|
+
<a href="Envelope3.src/M000045.html" target="Code" class="method-signature"
|
|
309
|
+
onclick="popupCode('Envelope3.src/M000045.html');return false;">
|
|
310
|
+
<span class="method-name">to_s</span><span class="method-args">()</span>
|
|
311
|
+
</a>
|
|
312
|
+
</div>
|
|
313
|
+
|
|
314
|
+
<div class="method-description">
|
|
315
|
+
<p>
|
|
316
|
+
Returns a string representation of the instance.
|
|
317
|
+
</p>
|
|
318
|
+
</div>
|
|
319
|
+
</div>
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
</div>
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
</div>
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
<div id="validator-badges">
|
|
329
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
330
|
+
</div>
|
|
331
|
+
|
|
332
|
+
</body>
|
|
333
|
+
</html>
|