~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to doc/group__geo.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2004-06-08 00:44:02 UTC
  • Revision ID: james.westby@ubuntu.com-20040608004402-72yu51xlh7vt6p9m
Tags: upstream-6.0pre16
ImportĀ upstreamĀ versionĀ 6.0pre16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
 
3
<title>Ipelib: Ipe Geometry</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
</head><body>
 
6
<!-- Generated by Doxygen 1.3.4 -->
 
7
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a></div>
 
8
<h1>Ipe Geometry</h1>Geometric primitives for Ipe.  
 
9
<a href="#_details">More...</a><h2>Classes</h2>
 
10
<ul>
 
11
<li>class <a class="el" href="class_ipe_angle.html">IpeAngle</a>
 
12
<dl class="el"><dd class="mdescRight">A double that's an angle. </em> <a href="class_ipe_angle.html#_details">More...</a><em><br><br></dl><li>class <a class="el" href="class_ipe_vector.html">IpeVector</a>
 
13
<dl class="el"><dd class="mdescRight">Two-dimensional vector. </em> <a href="class_ipe_vector.html#_details">More...</a><em><br><br></dl><li>class <a class="el" href="class_ipe_rect.html">IpeRect</a>
 
14
<dl class="el"><dd class="mdescRight">Axis-parallel rectangle (which can be empty). </em> <a href="class_ipe_rect.html#_details">More...</a><em><br><br></dl><li>class <a class="el" href="class_ipe_line.html">IpeLine</a>
 
15
<dl class="el"><dd class="mdescRight">A directed line. </em> <a href="class_ipe_line.html#_details">More...</a><em><br><br></dl><li>class <a class="el" href="class_ipe_segment.html">IpeSegment</a>
 
16
<dl class="el"><dd class="mdescRight">A directed line segment. </em> <a href="class_ipe_segment.html#_details">More...</a><em><br><br></dl><li>class <a class="el" href="class_ipe_linear.html">IpeLinear</a>
 
17
<dl class="el"><dd class="mdescRight">Linear transformation in the plane (2x2 matrix). </em> <a href="class_ipe_linear.html#_details">More...</a><em><br><br></dl><li>class <a class="el" href="class_ipe_matrix.html">IpeMatrix</a>
 
18
<dl class="el"><dd class="mdescRight">Homogeneous transformation in the plane. </em> <a href="class_ipe_matrix.html#_details">More...</a><em><br><br></dl><li>class <a class="el" href="class_ipe_bezier.html">IpeBezier</a>
 
19
<dl class="el"><dd class="mdescRight">A cubic Bezier spline. </em> <a href="class_ipe_bezier.html#_details">More...</a><em><br><br></dl><li>class <a class="el" href="class_ipe_arc.html">IpeArc</a>
 
20
<dl class="el"><dd class="mdescRight">An arc of an ellipse. </em> <a href="class_ipe_arc.html#_details">More...</a><em><br><br></dl></ul>
 
21
<h2>Defines</h2>
 
22
<ul>
 
23
<li>#define <a class="el" href="group__geo.html#a4">IpePi</a>&nbsp;&nbsp;&nbsp;3.1415926535897932385
 
24
<li>#define <a class="el" href="group__geo.html#a5">IpeTwoPi</a>&nbsp;&nbsp;&nbsp;6.2831853071795862
 
25
<li>#define <a class="el" href="group__geo.html#a6">IpeHalfPi</a>&nbsp;&nbsp;&nbsp;1.5707963267948966
 
26
</ul>
 
27
<h2>Typedefs</h2>
 
28
<ul>
 
29
<li>typedef double <a class="el" href="group__geo.html#a3">IpeScalar</a>
 
30
</ul>
 
31
<h2>Functions</h2>
 
32
<ul>
 
33
<li>template&lt;class T&gt; T <a class="el" href="group__geo.html#a0">IpeMax</a> (const  T &amp;lhs, const  T &amp;rhs)
 
34
<li>template&lt;class T&gt; T <a class="el" href="group__geo.html#a1">IpeMin</a> (const  T &amp;lhs, const  T &amp;rhs)
 
35
<li>double <a class="el" href="group__geo.html#a2">IpeAbs</a> (double val)
 
36
</ul>
 
37
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
38
Geometric primitives for Ipe. 
 
39
<p>
 
40
The IpeGeo module provides a few classes for constant-size geometric primitives, such as vector, axis-aligned rectangles, lines, rays, line segments, etc. <hr><h2>Define Documentation</h2>
 
41
<a class="anchor" name="a4" doxytag="ipegeo.h::IpePi" ></a><p>
 
42
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
43
  <tr>
 
44
    <td class="mdRow">
 
45
      <table cellpadding="0" cellspacing="0" border="0">
 
46
        <tr>
 
47
          <td class="md" nowrap valign="top"> double IpePi&nbsp;&nbsp;&nbsp;3.1415926535897932385
 
48
      </table>
 
49
    </td>
 
50
  </tr>
 
51
</table>
 
52
<table cellspacing=5 cellpadding=0 border=0>
 
53
  <tr>
 
54
    <td>
 
55
      &nbsp;
 
56
    </td>
 
57
    <td>
 
58
 
 
59
<p>
 
60
The constant pi.     </td>
 
61
  </tr>
 
62
</table>
 
63
<a class="anchor" name="a5" doxytag="ipegeo.h::IpeTwoPi" ></a><p>
 
64
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
65
  <tr>
 
66
    <td class="mdRow">
 
67
      <table cellpadding="0" cellspacing="0" border="0">
 
68
        <tr>
 
69
          <td class="md" nowrap valign="top"> double IpeTwoPi&nbsp;&nbsp;&nbsp;6.2831853071795862
 
70
      </table>
 
71
    </td>
 
72
  </tr>
 
73
</table>
 
74
<table cellspacing=5 cellpadding=0 border=0>
 
75
  <tr>
 
76
    <td>
 
77
      &nbsp;
 
78
    </td>
 
79
    <td>
 
80
 
 
81
<p>
 
82
The constant 2 * pi.     </td>
 
83
  </tr>
 
84
</table>
 
85
<a class="anchor" name="a6" doxytag="ipegeo.h::IpeHalfPi" ></a><p>
 
86
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
87
  <tr>
 
88
    <td class="mdRow">
 
89
      <table cellpadding="0" cellspacing="0" border="0">
 
90
        <tr>
 
91
          <td class="md" nowrap valign="top"> double IpeHalfPi&nbsp;&nbsp;&nbsp;1.5707963267948966
 
92
      </table>
 
93
    </td>
 
94
  </tr>
 
95
</table>
 
96
<table cellspacing=5 cellpadding=0 border=0>
 
97
  <tr>
 
98
    <td>
 
99
      &nbsp;
 
100
    </td>
 
101
    <td>
 
102
 
 
103
<p>
 
104
The constant pi / 2.     </td>
 
105
  </tr>
 
106
</table>
 
107
<hr><h2>Typedef Documentation</h2>
 
108
<a class="anchor" name="a3" doxytag="ipegeo.h::IpeScalar" ></a><p>
 
109
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
110
  <tr>
 
111
    <td class="mdRow">
 
112
      <table cellpadding="0" cellspacing="0" border="0">
 
113
        <tr>
 
114
          <td class="md" nowrap valign="top"> typedef double <a class="el" href="ipegeo_8h.html#a3">IpeScalar</a>
 
115
      </table>
 
116
    </td>
 
117
  </tr>
 
118
</table>
 
119
<table cellspacing=5 cellpadding=0 border=0>
 
120
  <tr>
 
121
    <td>
 
122
      &nbsp;
 
123
    </td>
 
124
    <td>
 
125
 
 
126
<p>
 
127
Type of coordinates in IpeVectors.     </td>
 
128
  </tr>
 
129
</table>
 
130
<hr><h2>Function Documentation</h2>
 
131
<a class="anchor" name="a0" doxytag="ipegeo.h::IpeMax" ></a><p>
 
132
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
133
  <tr>
 
134
    <td class="mdRow">
 
135
      <table cellpadding="0" cellspacing="0" border="0">
 
136
        <tr>
 
137
          <td class="md" colspan="4">
 
138
template&lt;class T&gt; </td>
 
139
        </tr>
 
140
        <tr>
 
141
          <td class="md" nowrap valign="top"> T IpeMax </td>
 
142
          <td class="md" valign="top">(&nbsp;</td>
 
143
          <td class="md" nowrap valign="top">const T &amp;&nbsp;</td>
 
144
          <td class="mdname" nowrap> <em>lhs</em>, </td>
 
145
        </tr>
 
146
        <tr>
 
147
          <td></td>
 
148
          <td></td>
 
149
          <td class="md" nowrap>const T &amp;&nbsp;</td>
 
150
          <td class="mdname" nowrap> <em>rhs</em></td>
 
151
        </tr>
 
152
        <tr>
 
153
          <td></td>
 
154
          <td class="md">)&nbsp;</td>
 
155
          <td class="md" colspan="2"><code> [inline]</code></td>
 
156
        </tr>
 
157
 
 
158
      </table>
 
159
    </td>
 
160
  </tr>
 
161
</table>
 
162
<table cellspacing=5 cellpadding=0 border=0>
 
163
  <tr>
 
164
    <td>
 
165
      &nbsp;
 
166
    </td>
 
167
    <td>
 
168
 
 
169
<p>
 
170
Maximum of two values.     </td>
 
171
  </tr>
 
172
</table>
 
173
<a class="anchor" name="a1" doxytag="ipegeo.h::IpeMin" ></a><p>
 
174
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
175
  <tr>
 
176
    <td class="mdRow">
 
177
      <table cellpadding="0" cellspacing="0" border="0">
 
178
        <tr>
 
179
          <td class="md" colspan="4">
 
180
template&lt;class T&gt; </td>
 
181
        </tr>
 
182
        <tr>
 
183
          <td class="md" nowrap valign="top"> T IpeMin </td>
 
184
          <td class="md" valign="top">(&nbsp;</td>
 
185
          <td class="md" nowrap valign="top">const T &amp;&nbsp;</td>
 
186
          <td class="mdname" nowrap> <em>lhs</em>, </td>
 
187
        </tr>
 
188
        <tr>
 
189
          <td></td>
 
190
          <td></td>
 
191
          <td class="md" nowrap>const T &amp;&nbsp;</td>
 
192
          <td class="mdname" nowrap> <em>rhs</em></td>
 
193
        </tr>
 
194
        <tr>
 
195
          <td></td>
 
196
          <td class="md">)&nbsp;</td>
 
197
          <td class="md" colspan="2"><code> [inline]</code></td>
 
198
        </tr>
 
199
 
 
200
      </table>
 
201
    </td>
 
202
  </tr>
 
203
</table>
 
204
<table cellspacing=5 cellpadding=0 border=0>
 
205
  <tr>
 
206
    <td>
 
207
      &nbsp;
 
208
    </td>
 
209
    <td>
 
210
 
 
211
<p>
 
212
Minimum of two values.     </td>
 
213
  </tr>
 
214
</table>
 
215
<a class="anchor" name="a2" doxytag="ipegeo.h::IpeAbs" ></a><p>
 
216
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
217
  <tr>
 
218
    <td class="mdRow">
 
219
      <table cellpadding="0" cellspacing="0" border="0">
 
220
        <tr>
 
221
          <td class="md" nowrap valign="top"> double IpeAbs </td>
 
222
          <td class="md" valign="top">(&nbsp;</td>
 
223
          <td class="md" nowrap valign="top">double&nbsp;</td>
 
224
          <td class="mdname1" valign="top" nowrap> <em>val</em>          </td>
 
225
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
226
          <td class="md" nowrap><code> [inline]</code></td>
 
227
        </tr>
 
228
 
 
229
      </table>
 
230
    </td>
 
231
  </tr>
 
232
</table>
 
233
<table cellspacing=5 cellpadding=0 border=0>
 
234
  <tr>
 
235
    <td>
 
236
      &nbsp;
 
237
    </td>
 
238
    <td>
 
239
 
 
240
<p>
 
241
Absolute value.     </td>
 
242
  </tr>
 
243
</table>
 
244
<hr>
 
245
</body></html>