1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Ipelib: IpeAngle class Reference</title>
3
<title>Ipelib: IpeAngle Class Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.3.6 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="functions.html">Class Members</a></div>
6
<!-- Generated by Doxygen 1.4.4 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="functions.html">Class Members</a></div>
8
8
<h1>IpeAngle Class Reference<br>
10
10
[<a class="el" href="group__geo.html">Ipe Geometry</a>]</small>
11
</h1>A double that's an angle.
11
</h1><!-- doxytag: class="IpeAngle" -->A double that's an angle.
12
12
<a href="#_details">More...</a>
14
14
<a href="class_ipe_angle-members.html">List of all members.</a><h2>Public Member Functions</h2>
16
16
<li><a class="el" href="class_ipe_angle.html#a0">IpeAngle</a> ()
17
17
<li><a class="el" href="class_ipe_angle.html#a1">IpeAngle</a> (double alpha)
18
18
<li><a class="el" href="class_ipe_angle.html#a2">operator double</a> () const
19
<li><a class="anchor" name="a3" doxytag="IpeAngle::Degrees" ></a>
19
<li><a class="anchor" name="a3"></a><!-- doxytag: member="IpeAngle::Degrees" ref="a3" args="() const " -->
20
20
double <b>Degrees</b> () const
21
21
<li><a class="el" href="class_ipe_angle.html">IpeAngle</a> <a class="el" href="class_ipe_angle.html#a4">Normalize</a> (double lowlimit)
22
22
<li>bool <a class="el" href="class_ipe_angle.html#a5">LiesBetween</a> (<a class="el" href="class_ipe_angle.html">IpeAngle</a> small, <a class="el" href="class_ipe_angle.html">IpeAngle</a> large) const
24
24
<h2>Static Public Member Functions</h2>
26
<li><a class="el" href="class_ipe_angle.html">IpeAngle</a> <a class="el" href="class_ipe_angle.html#e0">Degrees</a> (double alpha)
26
<li>static <a class="el" href="class_ipe_angle.html">IpeAngle</a> <a class="el" href="class_ipe_angle.html#e0">Degrees</a> (double alpha)
28
28
<hr><a name="_details"></a><h2>Detailed Description</h2>
29
29
A double that's an angle.
31
An IpeAngle is really nothing more than a double. Having a separate type is sometimes useful, for instance in the <a class="el" href="class_ipe_vector.html">IpeVector</a> constructor, and this class serves as the right place for a few utility functions. It also makes it clear whether a value is in radians or in degrees.
31
An IpeAngle is really nothing more than a double. Having a separate type is sometimes useful, for instance in the <a class="el" href="class_ipe_vector.html">IpeVector</a> constructor, and this class serves as the right place for a few utility functions. It also makes it clear whether a value is in radians or in degrees.
33
33
<hr><h2>Constructor & Destructor Documentation</h2>
34
<a class="anchor" name="a0" doxytag="IpeAngle::IpeAngle" ></a><p>
35
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
34
<a class="anchor" name="a0"></a><!-- doxytag: member="IpeAngle::IpeAngle" ref="a0" args="()" --><p>
35
<table class="mdTable" cellpadding="2" cellspacing="0">
38
38
<table cellpadding="0" cellspacing="0" border="0">
40
<td class="md" nowrap valign="top"> IpeAngle::IpeAngle </td>
40
<td class="md" nowrap valign="top">IpeAngle::IpeAngle </td>
41
41
<td class="md" valign="top">( </td>
42
42
<td class="mdname1" valign="top" nowrap> </td>
43
43
<td class="md" valign="top"> ) </td>
44
44
<td class="md" nowrap><code> [inline, explicit]</code></td>
51
<table cellspacing=5 cellpadding=0 border=0>
50
<table cellspacing="5" cellpadding="0" border="0">
64
<a class="anchor" name="a1" doxytag="IpeAngle::IpeAngle" ></a><p>
65
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
63
<a class="anchor" name="a1"></a><!-- doxytag: member="IpeAngle::IpeAngle" ref="a1" args="(double alpha)" --><p>
64
<table class="mdTable" cellpadding="2" cellspacing="0">
68
67
<table cellpadding="0" cellspacing="0" border="0">
70
<td class="md" nowrap valign="top"> IpeAngle::IpeAngle </td>
69
<td class="md" nowrap valign="top">IpeAngle::IpeAngle </td>
71
70
<td class="md" valign="top">( </td>
72
71
<td class="md" nowrap valign="top">double </td>
73
72
<td class="mdname1" valign="top" nowrap> <em>alpha</em> </td>
74
73
<td class="md" valign="top"> ) </td>
75
74
<td class="md" nowrap><code> [inline]</code></td>
82
<table cellspacing=5 cellpadding=0 border=0>
80
<table cellspacing="5" cellpadding="0" border="0">
95
93
<hr><h2>Member Function Documentation</h2>
96
<a class="anchor" name="e0" doxytag="IpeAngle::Degrees" ></a><p>
97
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
94
<a class="anchor" name="e0"></a><!-- doxytag: member="IpeAngle::Degrees" ref="e0" args="(double alpha)" --><p>
95
<table class="mdTable" cellpadding="2" cellspacing="0">
100
98
<table cellpadding="0" cellspacing="0" border="0">
102
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_angle.html">IpeAngle</a> IpeAngle::Degrees </td>
100
<td class="md" nowrap valign="top">static <a class="el" href="class_ipe_angle.html">IpeAngle</a> IpeAngle::Degrees </td>
103
101
<td class="md" valign="top">( </td>
104
102
<td class="md" nowrap valign="top">double </td>
105
103
<td class="mdname1" valign="top" nowrap> <em>alpha</em> </td>
106
104
<td class="md" valign="top"> ) </td>
107
105
<td class="md" nowrap><code> [inline, static]</code></td>
114
<table cellspacing=5 cellpadding=0 border=0>
111
<table cellspacing="5" cellpadding="0" border="0">
127
<a class="anchor" name="a2" doxytag="IpeAngle::operator double" ></a><p>
128
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
124
<a class="anchor" name="a2"></a><!-- doxytag: member="IpeAngle::operator double" ref="a2" args="() const " --><p>
125
<table class="mdTable" cellpadding="2" cellspacing="0">
130
127
<td class="mdRow">
131
128
<table cellpadding="0" cellspacing="0" border="0">
133
<td class="md" nowrap valign="top"> IpeAngle::operator double </td>
130
<td class="md" nowrap valign="top">IpeAngle::operator double </td>
134
131
<td class="md" valign="top">( </td>
135
132
<td class="mdname1" valign="top" nowrap> </td>
136
133
<td class="md" valign="top"> ) </td>
137
134
<td class="md" nowrap> const<code> [inline]</code></td>
144
<table cellspacing=5 cellpadding=0 border=0>
140
<table cellspacing="5" cellpadding="0" border="0">
157
<a class="anchor" name="a4" doxytag="IpeAngle::Normalize" ></a><p>
158
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
153
<a class="anchor" name="a4"></a><!-- doxytag: member="IpeAngle::Normalize" ref="a4" args="(double lowlimit)" --><p>
154
<table class="mdTable" cellpadding="2" cellspacing="0">
160
156
<td class="mdRow">
161
157
<table cellpadding="0" cellspacing="0" border="0">
163
<td class="md" nowrap valign="top"> <a class="el" href="class_ipe_angle.html">IpeAngle</a> IpeAngle::Normalize </td>
159
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_angle.html">IpeAngle</a> IpeAngle::Normalize </td>
164
160
<td class="md" valign="top">( </td>
165
161
<td class="md" nowrap valign="top">double </td>
166
162
<td class="mdname1" valign="top" nowrap> <em>lowlimit</em> </td>
167
163
<td class="md" valign="top"> ) </td>
168
164
<td class="md" nowrap></td>
175
<table cellspacing=5 cellpadding=0 border=0>
170
<table cellspacing="5" cellpadding="0" border="0">
185
180
This IpeAngle object is modified, a copy is returned. </td>
188
<a class="anchor" name="a5" doxytag="IpeAngle::LiesBetween" ></a><p>
189
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
183
<a class="anchor" name="a5"></a><!-- doxytag: member="IpeAngle::LiesBetween" ref="a5" args="(IpeAngle small, IpeAngle large) const " --><p>
184
<table class="mdTable" cellpadding="2" cellspacing="0">
191
186
<td class="mdRow">
192
187
<table cellpadding="0" cellspacing="0" border="0">
194
<td class="md" nowrap valign="top"> bool IpeAngle::LiesBetween </td>
189
<td class="md" nowrap valign="top">bool IpeAngle::LiesBetween </td>
195
190
<td class="md" valign="top">( </td>
196
191
<td class="md" nowrap valign="top"><a class="el" href="class_ipe_angle.html">IpeAngle</a> </td>
197
192
<td class="mdname" nowrap> <em>small</em>, </td>
200
195
<td class="md" nowrap align="right"></td>
202
197
<td class="md" nowrap><a class="el" href="class_ipe_angle.html">IpeAngle</a> </td>
203
198
<td class="mdname" nowrap> <em>large</em></td>
207
202
<td class="md">) </td>
208
203
<td class="md" colspan="2"> const</td>
215
<table cellspacing=5 cellpadding=0 border=0>
209
<table cellspacing="5" cellpadding="0" border="0">
223
When considering the positively oriented circle arc from angle <em>small</em> to <em>large</em>, does it cover this angle? </td>
217
When considering the positively oriented circle arc from angle <em>small</em> to <em>large</em>, does it cover this angle? </td>
226
220
<hr>The documentation for this class was generated from the following files:<ul>