3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>set_from_radian</title>
5 <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="../../../../index.html" title="Chapter 1. Geometry">
8 <link rel="up" href="../set.html" title="set">
9 <link rel="prev" href="set_3_with_index.html" title="set (with index)">
10 <link rel="next" href="../exterior_ring.html" title="exterior_ring">
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>
22 <div class="spirit-nav">
23 <a accesskey="p" href="set_3_with_index.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set.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="../exterior_ring.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h5 class="title">
27 <a name="geometry.reference.access.set.set_from_radian"></a><a class="link" href="set_from_radian.html" title="set_from_radian">set_from_radian</a>
28 </h5></div></div></div>
30 <a class="indexterm" name="id789946"></a>
31 set coordinate value (in radian) to a point
34 <a name="geometry.reference.access.set.set_from_radian.h0"></a>
35 <span><a name="geometry.reference.access.set.set_from_radian.description"></a></span><a class="link" href="set_from_radian.html#geometry.reference.access.set.set_from_radian.description">Description</a>
38 Coordinate value will be set correctly, if coordinate system of point
39 is in Degree, Radian value will be converted to Degree
42 <a name="geometry.reference.access.set.set_from_radian.h1"></a>
43 <span><a name="geometry.reference.access.set.set_from_radian.synopsis"></a></span><a class="link" href="set_from_radian.html#geometry.reference.access.set.set_from_radian.synopsis">Synopsis</a>
47 <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>
48 <span class="keyword">void</span> <span class="identifier">set_from_radian</span><span class="special">(</span><span class="identifier">Geometry</span> <span class="special">&</span> <span class="identifier">geometry</span><span class="special">,</span> <span class="keyword">typename</span> <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="keyword">const</span> <span class="special">&</span> <span class="identifier">radians</span><span class="special">)</span></pre>
52 <a name="geometry.reference.access.set.set_from_radian.h2"></a>
53 <span><a name="geometry.reference.access.set.set_from_radian.parameters"></a></span><a class="link" href="set_from_radian.html#geometry.reference.access.set.set_from_radian.parameters">Parameters</a>
55 <div class="informaltable"><table class="table">
125 geometry to assign coordinate to
132 typename fp_coordinate_type< Geometry >::type const &
144 coordinate value to assign
151 <a name="geometry.reference.access.set.set_from_radian.h3"></a>
152 <span><a name="geometry.reference.access.set.set_from_radian.header"></a></span><a class="link" href="set_from_radian.html#geometry.reference.access.set.set_from_radian.header">Header</a>
158 <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">geometry</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code>
164 <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>
167 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
168 <td align="left"></td>
169 <td align="right"><div class="copyright-footer">Copyright © 2009-2012 Barend
170 Gehrels, Bruno Lalande, Mateusz Loskot<p>
171 Distributed under the Boost Software License, Version 1.0. (See accompanying
172 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>)
177 <div class="spirit-nav">
178 <a accesskey="p" href="set_3_with_index.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../set.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="../exterior_ring.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>