1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>cs::spherical_equatorial</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="../cs.html" title="Coordinate Systems"> 9<link rel="prev" href="cs_spherical.html" title="cs::spherical"> 10<link rel="next" href="cs_geographic.html" title="cs::geographic"> 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.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="cs_geographic.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_spherical_equatorial"></a><a class="link" href="cs_spherical_equatorial.html" title="cs::spherical_equatorial">cs::spherical_equatorial</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="idm45635684561968"></a><a class="indexterm" name="idm45635684561312"></a> 31Spherical equatorial coordinate system, in degree or in radian. 32 </p> 33<h6> 34<a name="geometry.reference.cs.cs_spherical_equatorial.h0"></a> 35 <span class="phrase"><a name="geometry.reference.cs.cs_spherical_equatorial.description"></a></span><a class="link" href="cs_spherical_equatorial.html#geometry.reference.cs.cs_spherical_equatorial.description">Description</a> 36 </h6> 37<p> 38 This one resembles the geographic coordinate system, and has latitude up 39 from zero at the equator, to 90 at the pole (opposite to the spherical(polar) 40 coordinate system). Used in astronomy and in GIS (but there is also the 41 geographic) 42 </p> 43<h6> 44<a name="geometry.reference.cs.cs_spherical_equatorial.h1"></a> 45 <span class="phrase"><a name="geometry.reference.cs.cs_spherical_equatorial.synopsis"></a></span><a class="link" href="cs_spherical_equatorial.html#geometry.reference.cs.cs_spherical_equatorial.synopsis">Synopsis</a> 46 </h6> 47<p> 48</p> 49<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">DegreeOrRadian</span><span class="special">></span> 50<span class="keyword">struct</span> <span class="identifier">cs</span><span class="special">::</span><span class="identifier">spherical_equatorial</span> 51 <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"><</span> <span class="identifier">DegreeOrRadian</span> <span class="special">></span> 52<span class="special">{</span> 53 <span class="comment">// ...</span> 54<span class="special">};</span> 55</pre> 56<p> 57 </p> 58<h6> 59<a name="geometry.reference.cs.cs_spherical_equatorial.h2"></a> 60 <span class="phrase"><a name="geometry.reference.cs.cs_spherical_equatorial.template_parameter_s_"></a></span><a class="link" href="cs_spherical_equatorial.html#geometry.reference.cs.cs_spherical_equatorial.template_parameter_s_">Template 61 parameter(s)</a> 62 </h6> 63<div class="informaltable"><table class="table"> 64<colgroup> 65<col> 66<col> 67</colgroup> 68<thead><tr> 69<th> 70 <p> 71 Parameter 72 </p> 73 </th> 74<th> 75 <p> 76 Description 77 </p> 78 </th> 79</tr></thead> 80<tbody><tr> 81<td> 82 <p> 83 typename DegreeOrRadian 84 </p> 85 </td> 86<td> 87 </td> 88</tr></tbody> 89</table></div> 90<h6> 91<a name="geometry.reference.cs.cs_spherical_equatorial.h3"></a> 92 <span class="phrase"><a name="geometry.reference.cs.cs_spherical_equatorial.header"></a></span><a class="link" href="cs_spherical_equatorial.html#geometry.reference.cs.cs_spherical_equatorial.header">Header</a> 93 </h6> 94<p> 95 Either 96 </p> 97<p> 98 <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</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">></span></code> 99 </p> 100<p> 101 Or 102 </p> 103<p> 104 <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</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">></span></code> 105 </p> 106</div> 107<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 108<td align="left"></td> 109<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 110 Wulkiewicz, Oracle and/or its affiliates<p> 111 Distributed under the Boost Software License, Version 1.0. (See accompanying 112 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>) 113 </p> 114</div></td> 115</tr></table> 116<hr> 117<div class="spirit-nav"> 118<a accesskey="p" href="cs_spherical.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="cs_geographic.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 119</div> 120</body> 121</html> 122