• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>srs::spheroid</title>
5<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../index.html" title="Chapter 1. Geometry">
8<link rel="up" href="../srs.html" title="SRS">
9<link rel="prev" href="../srs.html" title="SRS">
10<link rel="next" href="../strategies.html" title="Strategies">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="../srs.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../srs.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../strategies.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h4 class="title">
27<a name="geometry.reference.srs.srs_spheroid"></a><a class="link" href="srs_spheroid.html" title="srs::spheroid">srs::spheroid</a>
28</h4></div></div></div>
29<p>
30          <a class="indexterm" name="idm45635671906208"></a><a class="indexterm" name="idm45635671905552"></a>
31Defines spheroid radius values for use in geographical CS calculations.
32        </p>
33<h6>
34<a name="geometry.reference.srs.srs_spheroid.h0"></a>
35          <span class="phrase"><a name="geometry.reference.srs.srs_spheroid.synopsis"></a></span><a class="link" href="srs_spheroid.html#geometry.reference.srs.srs_spheroid.synopsis">Synopsis</a>
36        </h6>
37<p>
38</p>
39<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">RadiusType</span><span class="special">&gt;</span>
40<span class="keyword">class</span> <span class="identifier">srs</span><span class="special">::</span><span class="identifier">spheroid</span>
41<span class="special">{</span>
42  <span class="comment">// ...</span>
43<span class="special">};</span>
44</pre>
45<p>
46        </p>
47<h6>
48<a name="geometry.reference.srs.srs_spheroid.h1"></a>
49          <span class="phrase"><a name="geometry.reference.srs.srs_spheroid.template_parameter_s_"></a></span><a class="link" href="srs_spheroid.html#geometry.reference.srs.srs_spheroid.template_parameter_s_">Template
50          parameter(s)</a>
51        </h6>
52<div class="informaltable"><table class="table">
53<colgroup>
54<col>
55<col>
56</colgroup>
57<thead><tr>
58<th>
59                  <p>
60                    Parameter
61                  </p>
62                </th>
63<th>
64                  <p>
65                    Description
66                  </p>
67                </th>
68</tr></thead>
69<tbody><tr>
70<td>
71                  <p>
72                    typename RadiusType
73                  </p>
74                </td>
75<td>
76                  <p>
77                    tparam_radius
78                  </p>
79                </td>
80</tr></tbody>
81</table></div>
82<h6>
83<a name="geometry.reference.srs.srs_spheroid.h2"></a>
84          <span class="phrase"><a name="geometry.reference.srs.srs_spheroid.constructor_s_"></a></span><a class="link" href="srs_spheroid.html#geometry.reference.srs.srs_spheroid.constructor_s_">Constructor(s)</a>
85        </h6>
86<div class="informaltable"><table class="table">
87<colgroup>
88<col>
89<col>
90<col>
91</colgroup>
92<thead><tr>
93<th>
94                  <p>
95                    Function
96                  </p>
97                </th>
98<th>
99                  <p>
100                    Description
101                  </p>
102                </th>
103<th>
104                  <p>
105                    Parameters
106                  </p>
107                </th>
108</tr></thead>
109<tbody>
110<tr>
111<td>
112                  <p>
113</p>
114<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">spheroid</span><span class="special">(</span><span class="identifier">RadiusType</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">a</span><span class="special">,</span> <span class="identifier">RadiusType</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">b</span><span class="special">)</span></pre>
115<p>
116                  </p>
117                </td>
118<td>
119                </td>
120<td>
121                  <p>
122                    <span class="bold"><strong>RadiusType const &amp;</strong></span>: <span class="emphasis"><em>a</em></span>:
123                  </p>
124                  <p>
125                    <span class="bold"><strong>RadiusType const &amp;</strong></span>: <span class="emphasis"><em>b</em></span>:
126                  </p>
127                </td>
128</tr>
129<tr>
130<td>
131                  <p>
132</p>
133<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">spheroid</span><span class="special">()</span></pre>
134<p>
135                  </p>
136                </td>
137<td>
138                </td>
139<td>
140                </td>
141</tr>
142</tbody>
143</table></div>
144<h6>
145<a name="geometry.reference.srs.srs_spheroid.h3"></a>
146          <span class="phrase"><a name="geometry.reference.srs.srs_spheroid.member_function_s_"></a></span><a class="link" href="srs_spheroid.html#geometry.reference.srs.srs_spheroid.member_function_s_">Member
147          Function(s)</a>
148        </h6>
149<div class="informaltable"><table class="table">
150<colgroup>
151<col>
152<col>
153<col>
154<col>
155</colgroup>
156<thead><tr>
157<th>
158                  <p>
159                    Function
160                  </p>
161                </th>
162<th>
163                  <p>
164                    Description
165                  </p>
166                </th>
167<th>
168                  <p>
169                    Parameters
170                  </p>
171                </th>
172<th>
173                  <p>
174                    Returns
175                  </p>
176                </th>
177</tr></thead>
178<tbody>
179<tr>
180<td>
181                  <p>
182</p>
183<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">I</span><span class="special">&gt;</span>
184<span class="identifier">RadiusType</span> <span class="identifier">get_radius</span><span class="special">()</span></pre>
185<p>
186                  </p>
187                </td>
188<td>
189                </td>
190<td>
191                </td>
192<td>
193                </td>
194</tr>
195<tr>
196<td>
197                  <p>
198</p>
199<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">I</span><span class="special">&gt;</span>
200<span class="keyword">void</span> <span class="identifier">set_radius</span><span class="special">(</span><span class="identifier">RadiusType</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">radius</span><span class="special">)</span></pre>
201<p>
202                  </p>
203                </td>
204<td>
205                </td>
206<td>
207                  <p>
208                    <span class="bold"><strong>RadiusType const &amp;</strong></span>: <span class="emphasis"><em>radius</em></span>:
209                  </p>
210                </td>
211<td>
212                </td>
213</tr>
214</tbody>
215</table></div>
216<h6>
217<a name="geometry.reference.srs.srs_spheroid.h4"></a>
218          <span class="phrase"><a name="geometry.reference.srs.srs_spheroid.header"></a></span><a class="link" href="srs_spheroid.html#geometry.reference.srs.srs_spheroid.header">Header</a>
219        </h6>
220<p>
221          <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">srs</span><span class="special">/</span><span class="identifier">spheroid</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
222        </p>
223</div>
224<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
225<td align="left"></td>
226<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
227      Wulkiewicz, Oracle and/or its affiliates<p>
228        Distributed under the Boost Software License, Version 1.0. (See accompanying
229        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
230      </p>
231</div></td>
232</tr></table>
233<hr>
234<div class="spirit-nav">
235<a accesskey="p" href="../srs.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../srs.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../strategies.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
236</div>
237</body>
238</html>
239