Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / geometry / doc / html / geometry / reference / arithmetic / multiply_value.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>multiply_value</title>
5 <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="../../../index.html" title="Chapter&#160;1.&#160;Geometry">
8 <link rel="up" href="../arithmetic.html" title="Arithmetic">
9 <link rel="prev" href="multiply_point.html" title="multiply_point">
10 <link rel="next" href="subtract_point.html" title="subtract_point">
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="multiply_point.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../arithmetic.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="subtract_point.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.arithmetic.multiply_value"></a><a class="link" href="multiply_value.html" title="multiply_value">multiply_value</a>
28 </h4></div></div></div>
29 <p>
30           <a class="indexterm" name="idp122726720"></a>
31 Multiplies each coordinate of a point by the same value.
32         </p>
33 <h6>
34 <a name="geometry.reference.arithmetic.multiply_value.h0"></a>
35           <span class="phrase"><a name="geometry.reference.arithmetic.multiply_value.synopsis"></a></span><a class="link" href="multiply_value.html#geometry.reference.arithmetic.multiply_value.synopsis">Synopsis</a>
36         </h6>
37 <p>
38 </p>
39 <pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Point</span><span class="special">&gt;</span>
40 <span class="keyword">void</span> <span class="identifier">multiply_value</span><span class="special">(</span><span class="identifier">Point</span> <span class="special">&amp;</span> <span class="identifier">p</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">detail</span><span class="special">::</span><span class="identifier">param</span><span class="special">&lt;</span> <span class="identifier">Point</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">value</span><span class="special">)</span></pre>
41 <p>
42         </p>
43 <h6>
44 <a name="geometry.reference.arithmetic.multiply_value.h1"></a>
45           <span class="phrase"><a name="geometry.reference.arithmetic.multiply_value.parameters"></a></span><a class="link" href="multiply_value.html#geometry.reference.arithmetic.multiply_value.parameters">Parameters</a>
46         </h6>
47 <div class="informaltable"><table class="table">
48 <colgroup>
49 <col>
50 <col>
51 <col>
52 <col>
53 </colgroup>
54 <thead><tr>
55 <th>
56                   <p>
57                     Type
58                   </p>
59                 </th>
60 <th>
61                   <p>
62                     Concept
63                   </p>
64                 </th>
65 <th>
66                   <p>
67                     Name
68                   </p>
69                 </th>
70 <th>
71                   <p>
72                     Description
73                   </p>
74                 </th>
75 </tr></thead>
76 <tbody>
77 <tr>
78 <td>
79                   <p>
80                     Point &amp;
81                   </p>
82                 </td>
83 <td>
84                   <p>
85                     Any type fulfilling a Point Concept
86                   </p>
87                 </td>
88 <td>
89                   <p>
90                     p
91                   </p>
92                 </td>
93 <td>
94                   <p>
95                     point
96                   </p>
97                 </td>
98 </tr>
99 <tr>
100 <td>
101                   <p>
102                     typename detail::param&lt; Point &gt;::type
103                   </p>
104                 </td>
105 <td>
106                 </td>
107 <td>
108                   <p>
109                     value
110                   </p>
111                 </td>
112 <td>
113                   <p>
114                     value to multiply by
115                   </p>
116                 </td>
117 </tr>
118 </tbody>
119 </table></div>
120 <h6>
121 <a name="geometry.reference.arithmetic.multiply_value.h2"></a>
122           <span class="phrase"><a name="geometry.reference.arithmetic.multiply_value.header"></a></span><a class="link" href="multiply_value.html#geometry.reference.arithmetic.multiply_value.header">Header</a>
123         </h6>
124 <p>
125           Either
126         </p>
127 <p>
128           <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>
129         </p>
130 <p>
131           Or
132         </p>
133 <p>
134           <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">arithmetic</span><span class="special">/</span><span class="identifier">arithmetic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
135         </p>
136 </div>
137 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
138 <td align="left"></td>
139 <td align="right"><div class="copyright-footer">Copyright &#169; 2009-2014 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
140       Wulkiewicz, Oracle and/or its affiliates<p>
141         Distributed under the Boost Software License, Version 1.0. (See accompanying
142         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>)
143       </p>
144 </div></td>
145 </tr></table>
146 <hr>
147 <div class="spirit-nav">
148 <a accesskey="p" href="multiply_point.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../arithmetic.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="subtract_point.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
149 </div>
150 </body>
151 </html>