Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / geometry / doc / html / geometry / reference / cs / cs_geographic.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>cs::geographic</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&#160;1.&#160;Geometry">
8 <link rel="up" href="../cs.html" title="Coordinate Systems">
9 <link rel="prev" href="cs_spherical_equatorial.html" title="cs::spherical_equatorial">
10 <link rel="next" href="../core.html" title="Core Metafunctions">
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="cs_spherical_equatorial.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../cs.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="../core.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.cs.cs_geographic"></a><a class="link" href="cs_geographic.html" title="cs::geographic">cs::geographic</a>
28 </h4></div></div></div>
29 <p>
30           <a class="indexterm" name="idm46186987473952"></a><a class="indexterm" name="idm46186987473296"></a>
31 Geographic coordinate system, in degree or in radian.
32         </p>
33 <h6>
34 <a name="geometry.reference.cs.cs_geographic.h0"></a>
35           <span class="phrase"><a name="geometry.reference.cs.cs_geographic.description"></a></span><a class="link" href="cs_geographic.html#geometry.reference.cs.cs_geographic.description">Description</a>
36         </h6>
37 <p>
38           Defines the geographic coordinate system where points are defined in two
39           angles and usually known as lat,long or lo,la or phi,lambda
40         </p>
41 <h6>
42 <a name="geometry.reference.cs.cs_geographic.h1"></a>
43           <span class="phrase"><a name="geometry.reference.cs.cs_geographic.synopsis"></a></span><a class="link" href="cs_geographic.html#geometry.reference.cs.cs_geographic.synopsis">Synopsis</a>
44         </h6>
45 <p>
46 </p>
47 <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">DegreeOrRadian</span><span class="special">&gt;</span>
48 <span class="keyword">struct</span> <span class="identifier">cs</span><span class="special">::</span><span class="identifier">geographic</span>
49       <span class="special">:</span> <span class="keyword">public</span> <span class="identifier">core_detail</span><span class="special">::</span><span class="identifier">define_angular_units</span><span class="special">&lt;</span> <span class="identifier">DegreeOrRadian</span> <span class="special">&gt;</span>
50 <span class="special">{</span>
51   <span class="comment">// ...</span>
52 <span class="special">};</span>
53 </pre>
54 <p>
55         </p>
56 <h6>
57 <a name="geometry.reference.cs.cs_geographic.h2"></a>
58           <span class="phrase"><a name="geometry.reference.cs.cs_geographic.template_parameter_s_"></a></span><a class="link" href="cs_geographic.html#geometry.reference.cs.cs_geographic.template_parameter_s_">Template
59           parameter(s)</a>
60         </h6>
61 <div class="informaltable"><table class="table">
62 <colgroup>
63 <col>
64 <col>
65 </colgroup>
66 <thead><tr>
67 <th>
68                   <p>
69                     Parameter
70                   </p>
71                 </th>
72 <th>
73                   <p>
74                     Description
75                   </p>
76                 </th>
77 </tr></thead>
78 <tbody><tr>
79 <td>
80                   <p>
81                     typename DegreeOrRadian
82                   </p>
83                 </td>
84 <td>
85                 </td>
86 </tr></tbody>
87 </table></div>
88 <h6>
89 <a name="geometry.reference.cs.cs_geographic.h3"></a>
90           <span class="phrase"><a name="geometry.reference.cs.cs_geographic.header"></a></span><a class="link" href="cs_geographic.html#geometry.reference.cs.cs_geographic.header">Header</a>
91         </h6>
92 <p>
93           Either
94         </p>
95 <p>
96           <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">hpp</span><span class="special">&gt;</span></code>
97         </p>
98 <p>
99           Or
100         </p>
101 <p>
102           <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">core</span><span class="special">/</span><span class="identifier">cs</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
103         </p>
104 </div>
105 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
106 <td align="left"></td>
107 <td align="right"><div class="copyright-footer">Copyright &#169; 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
108       Wulkiewicz, Oracle and/or its affiliates<p>
109         Distributed under the Boost Software License, Version 1.0. (See accompanying
110         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>)
111       </p>
112 </div></td>
113 </tr></table>
114 <hr>
115 <div class="spirit-nav">
116 <a accesskey="p" href="cs_spherical_equatorial.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../cs.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="../core.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
117 </div>
118 </body>
119 </html>