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_1_with_index.html" title="get (with index)"> 10<link rel="next" href="get_as_radian_1_0.html" title="get_as_radian"> 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_1_with_index.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="get_as_radian_1_0.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"></a><a class="link" href="get_as_radian_1.html" title="get_as_radian">get_as_radian</a> 28</h5></div></div></div> 29<p> 30 <a class="indexterm" name="idm45635712663824"></a> 31get coordinate value of a point, result is in Radian 32 </p> 33<h6> 34<a name="geometry.reference.access.get.get_as_radian_1.h0"></a> 35 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.description"></a></span><a class="link" href="get_as_radian_1.html#geometry.reference.access.get.get_as_radian_1.description">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.h1"></a> 42 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.synopsis"></a></span><a class="link" href="get_as_radian_1.html#geometry.reference.access.get.get_as_radian_1.synopsis">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">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.h2"></a> 52 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.parameters"></a></span><a class="link" href="get_as_radian_1.html#geometry.reference.access.get.get_as_radian_1.parameters">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 Dimension 88 </p> 89 </td> 90<td> 91 <p> 92 dimension 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 Geometry const & 110 </p> 111 </td> 112<td> 113 <p> 114 geometry 115 </p> 116 </td> 117<td> 118 <p> 119 geometry 120 </p> 121 </td> 122<td> 123 <p> 124 geometry to get coordinate value from 125 </p> 126 </td> 127</tr> 128</tbody> 129</table></div> 130<h6> 131<a name="geometry.reference.access.get.get_as_radian_1.h3"></a> 132 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.returns"></a></span><a class="link" href="get_as_radian_1.html#geometry.reference.access.get.get_as_radian_1.returns">Returns</a> 133 </h6> 134<p> 135 coordinate value 136 </p> 137<h6> 138<a name="geometry.reference.access.get.get_as_radian_1.h4"></a> 139 <span class="phrase"><a name="geometry.reference.access.get.get_as_radian_1.header"></a></span><a class="link" href="get_as_radian_1.html#geometry.reference.access.get.get_as_radian_1.header">Header</a> 140 </h6> 141<p> 142 Either 143 </p> 144<p> 145 <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> 146 </p> 147<p> 148 Or 149 </p> 150<p> 151 <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> 152 </p> 153</div> 154<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 155<td align="left"></td> 156<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 157 Wulkiewicz, Oracle and/or its affiliates<p> 158 Distributed under the Boost Software License, Version 1.0. (See accompanying 159 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>) 160 </p> 161</div></td> 162</tr></table> 163<hr> 164<div class="spirit-nav"> 165<a accesskey="p" href="get_1_with_index.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="get_as_radian_1_0.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 166</div> 167</body> 168</html> 169