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