1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>get_as_radian</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="../get.html" title="get"> 9<link rel="prev" href="get_as_radian_1.html" title="get_as_radian"> 10<link rel="next" href="../set.html" title="set"> 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="get_as_radian_1.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../get.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="../set.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h5 class="title"> 27<a name="geometry.reference.access.get.get_as_radian_1_0"></a><a class="link" href="get_as_radian_1_0.html" title="get_as_radian">get_as_radian</a> 28</h5></div></div></div> 29<p> 30 <a class="indexterm" name="idm45635712604224"></a> 31get coordinate value of a segment or box, result is in Radian 32 </p> 33<h6> 34<a name="geometry.reference.access.get.get_as_radian_1.h5"></a> 35 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.description0"></a></span><a class="link" href="get_as_radian_1_0.html#geometry.reference.access.get.get_as_radian_1.description0">Description</a> 36 </h6> 37<p> 38 Result is in Radian, even if source coordinate system is in Degrees 39 </p> 40<h6> 41<a name="geometry.reference.access.get.get_as_radian_1.h6"></a> 42 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.synopsis0"></a></span><a class="link" href="get_as_radian_1_0.html#geometry.reference.access.get.get_as_radian_1.synopsis0">Synopsis</a> 43 </h6> 44<p> 45</p> 46<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">Index</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <span class="identifier">Dimension</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Geometry</span><span class="special">></span> 47<span class="identifier">fp_coordinate_type</span><span class="special"><</span><span class="identifier">Geometry</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">get_as_radian</span><span class="special">(</span><span class="identifier">Geometry</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">geometry</span><span class="special">)</span></pre> 48<p> 49 </p> 50<h6> 51<a name="geometry.reference.access.get.get_as_radian_1.h7"></a> 52 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.parameters0"></a></span><a class="link" href="get_as_radian_1_0.html#geometry.reference.access.get.get_as_radian_1.parameters0">Parameters</a> 53 </h6> 54<div class="informaltable"><table class="table"> 55<colgroup> 56<col> 57<col> 58<col> 59<col> 60</colgroup> 61<thead><tr> 62<th> 63 <p> 64 Type 65 </p> 66 </th> 67<th> 68 <p> 69 Concept 70 </p> 71 </th> 72<th> 73 <p> 74 Name 75 </p> 76 </th> 77<th> 78 <p> 79 Description 80 </p> 81 </th> 82</tr></thead> 83<tbody> 84<tr> 85<td> 86 <p> 87 Index 88 </p> 89 </td> 90<td> 91 <p> 92 index 93 </p> 94 </td> 95<td> 96 <p> 97 - 98 </p> 99 </td> 100<td> 101 <p> 102 Must be specified 103 </p> 104 </td> 105</tr> 106<tr> 107<td> 108 <p> 109 Dimension 110 </p> 111 </td> 112<td> 113 <p> 114 dimension 115 </p> 116 </td> 117<td> 118 <p> 119 - 120 </p> 121 </td> 122<td> 123 <p> 124 Must be specified 125 </p> 126 </td> 127</tr> 128<tr> 129<td> 130 <p> 131 Geometry const & 132 </p> 133 </td> 134<td> 135 <p> 136 geometry 137 </p> 138 </td> 139<td> 140 <p> 141 geometry 142 </p> 143 </td> 144<td> 145 <p> 146 geometry to get coordinate value from 147 </p> 148 </td> 149</tr> 150</tbody> 151</table></div> 152<h6> 153<a name="geometry.reference.access.get.get_as_radian_1.h8"></a> 154 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.returns0"></a></span><a class="link" href="get_as_radian_1_0.html#geometry.reference.access.get.get_as_radian_1.returns0">Returns</a> 155 </h6> 156<p> 157 coordinate value 158 </p> 159<h6> 160<a name="geometry.reference.access.get.get_as_radian_1.h9"></a> 161 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.header0"></a></span><a class="link" href="get_as_radian_1_0.html#geometry.reference.access.get.get_as_radian_1.header0">Header</a> 162 </h6> 163<p> 164 Either 165 </p> 166<p> 167 <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> 168 </p> 169<p> 170 Or 171 </p> 172<p> 173 <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">radian_access</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> 174 </p> 175</div> 176<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 177<td align="left"></td> 178<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 179 Wulkiewicz, Oracle and/or its affiliates<p> 180 Distributed under the Boost Software License, Version 1.0. (See accompanying 181 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>) 182 </p> 183</div></td> 184</tr></table> 185<hr> 186<div class="spirit-nav"> 187<a accesskey="p" href="get_as_radian_1.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../get.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="../set.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 188</div> 189</body> 190</html> 191