File: class_ipe_linear.html

package info (click to toggle)
ipe 6.0pre30-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,100 kB
  • ctags: 5,419
  • sloc: cpp: 30,430; ansic: 1,045; xml: 845; makefile: 78; sh: 5
file content (244 lines) | stat: -rw-r--r-- 9,144 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Ipelib: IpeLinear Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<h1>IpeLinear Class Reference<br>
<small>
[<a class="el" href="group__geo.html">Ipe Geometry</a>]</small>
</h1><!-- doxytag: class="IpeLinear" -->Linear transformation in the plane (2x2 matrix).  
<a href="#_details">More...</a>
<p>
<a href="class_ipe_linear-members.html">List of all members.</a><h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="class_ipe_linear.html#b5150ae2bb024be965eb05f6af00b48d">IpeLinear</a> ()
<li><a class="el" href="class_ipe_linear.html#f1bbee9693d2357066fb8bbe74b8b0b8">IpeLinear</a> (<a class="el" href="class_ipe_angle.html">IpeAngle</a> angle)
<li><a class="el" href="class_ipe_linear.html#8b683a8531b6fc9b3a2f45cdf6e6b9d3">IpeLinear</a> (double m11, double m21, double m12, double m22)
<li><a class="el" href="class_ipe_linear.html#3a43119b7ce7f0d26c0c6fd02a30fd7c">IpeLinear</a> (<a class="el" href="class_ipe_string.html">IpeString</a> str)
<li><a class="el" href="class_ipe_linear.html">IpeLinear</a> <a class="el" href="class_ipe_linear.html#568b716cd147539ed8ed02b9e14c3399">Inverse</a> () const
<li>bool <a class="el" href="class_ipe_linear.html#201f9c0d3b254a02e19126966e260b0b">IsIdentity</a> () const
<li><a class="el" href="class_ipe_vector.html">IpeVector</a> <a class="el" href="class_ipe_linear.html#1f8549e7d982eb229072aa5f1ae57f07">operator *</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;rhs) const 
<li>bool <a class="el" href="class_ipe_linear.html#8547e967e0a84c9caa4fee3e120c8a2e">operator==</a> (const <a class="el" href="class_ipe_linear.html">IpeLinear</a> &amp;rhs) const 
</ul>
<h2>Public Attributes</h2>
<ul>
<li><a class="anchor" name="696f931afa72d8074092527d9bd0347e"></a><!-- doxytag: member="IpeLinear::iA" ref="696f931afa72d8074092527d9bd0347e" args="[4]" -->
double <b>iA</b> [4]
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Linear transformation in the plane (2x2 matrix). 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b5150ae2bb024be965eb05f6af00b48d"></a><!-- doxytag: member="IpeLinear::IpeLinear" ref="b5150ae2bb024be965eb05f6af00b48d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IpeLinear::IpeLinear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create identity matrix. 
<p>

</div>
</div><p>
<a class="anchor" name="f1bbee9693d2357066fb8bbe74b8b0b8"></a><!-- doxytag: member="IpeLinear::IpeLinear" ref="f1bbee9693d2357066fb8bbe74b8b0b8" args="(IpeAngle angle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IpeLinear::IpeLinear           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_angle.html">IpeAngle</a>&nbsp;</td>
          <td class="paramname"> <em>angle</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create matrix representing a rotation by angle. 
<p>

</div>
</div><p>
<a class="anchor" name="8b683a8531b6fc9b3a2f45cdf6e6b9d3"></a><!-- doxytag: member="IpeLinear::IpeLinear" ref="8b683a8531b6fc9b3a2f45cdf6e6b9d3" args="(double m11, double m21, double m12, double m22)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IpeLinear::IpeLinear           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>m11</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>m21</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>m12</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>m22</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create linear matrix with given coefficients. 
<p>

</div>
</div><p>
<a class="anchor" name="3a43119b7ce7f0d26c0c6fd02a30fd7c"></a><!-- doxytag: member="IpeLinear::IpeLinear" ref="3a43119b7ce7f0d26c0c6fd02a30fd7c" args="(IpeString str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IpeLinear::IpeLinear           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
          <td class="paramname"> <em>str</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parse string. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="568b716cd147539ed8ed02b9e14c3399"></a><!-- doxytag: member="IpeLinear::Inverse" ref="568b716cd147539ed8ed02b9e14c3399" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_linear.html">IpeLinear</a> IpeLinear::Inverse           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return inverse. 
<p>

</div>
</div><p>
<a class="anchor" name="201f9c0d3b254a02e19126966e260b0b"></a><!-- doxytag: member="IpeLinear::IsIdentity" ref="201f9c0d3b254a02e19126966e260b0b" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IpeLinear::IsIdentity           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Is this the identity matrix? 
<p>

</div>
</div><p>
<a class="anchor" name="1f8549e7d982eb229072aa5f1ae57f07"></a><!-- doxytag: member="IpeLinear::operator *" ref="1f8549e7d982eb229072aa5f1ae57f07" args="(const IpeVector &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_ipe_vector.html">IpeVector</a> IpeLinear::operator *           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Linear matrix times vector. 
<p>

</div>
</div><p>
<a class="anchor" name="8547e967e0a84c9caa4fee3e120c8a2e"></a><!-- doxytag: member="IpeLinear::operator==" ref="8547e967e0a84c9caa4fee3e120c8a2e" args="(const IpeLinear &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IpeLinear::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_ipe_linear.html">IpeLinear</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check for equality of two linear matrices. 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>ipegeo.h<li>ipegeo.cpp</ul>
<hr>
</body></html>