Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / geometry / doc / html / geometry / reference / algorithms / make / make_zero.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>make_zero</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&#160;1.&#160;Geometry">
8 <link rel="up" href="../make.html" title="make">
9 <link rel="prev" href="make_inverse.html" title="make_inverse">
10 <link rel="next" href="../num_geometries.html" title="num_geometries">
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="make_inverse.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../make.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="../num_geometries.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.algorithms.make.make_zero"></a><a class="link" href="make_zero.html" title="make_zero">make_zero</a>
28 </h5></div></div></div>
29 <p>
30             <a class="indexterm" name="idm46186994026272"></a>
31 Construct a geometry with its coordinates initialized to zero.
32           </p>
33 <h6>
34 <a name="geometry.reference.algorithms.make.make_zero.h0"></a>
35             <span class="phrase"><a name="geometry.reference.algorithms.make.make_zero.description"></a></span><a class="link" href="make_zero.html#geometry.reference.algorithms.make.make_zero.description">Description</a>
36           </h6>
37 <p>
38             The make_zero function initializes a 2D or 3D point or box with coordinates
39             of zero
40           </p>
41 <h6>
42 <a name="geometry.reference.algorithms.make.make_zero.h1"></a>
43             <span class="phrase"><a name="geometry.reference.algorithms.make.make_zero.synopsis"></a></span><a class="link" href="make_zero.html#geometry.reference.algorithms.make.make_zero.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">Geometry</span><span class="special">&gt;</span>
48 <span class="identifier">Geometry</span> <span class="identifier">make_zero</span><span class="special">()</span></pre>
49 <p>
50           </p>
51 <h6>
52 <a name="geometry.reference.algorithms.make.make_zero.h2"></a>
53             <span class="phrase"><a name="geometry.reference.algorithms.make.make_zero.parameters"></a></span><a class="link" href="make_zero.html#geometry.reference.algorithms.make.make_zero.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><tr>
85 <td>
86                     <p>
87                       Geometry
88                     </p>
89                   </td>
90 <td>
91                     <p>
92                       Any type fulfilling a Geometry Concept
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></tbody>
106 </table></div>
107 <h6>
108 <a name="geometry.reference.algorithms.make.make_zero.h3"></a>
109             <span class="phrase"><a name="geometry.reference.algorithms.make.make_zero.returns"></a></span><a class="link" href="make_zero.html#geometry.reference.algorithms.make.make_zero.returns">Returns</a>
110           </h6>
111 <p>
112             The constructed and zero-initialized geometry
113           </p>
114 <h6>
115 <a name="geometry.reference.algorithms.make.make_zero.h4"></a>
116             <span class="phrase"><a name="geometry.reference.algorithms.make.make_zero.header"></a></span><a class="link" href="make_zero.html#geometry.reference.algorithms.make.make_zero.header">Header</a>
117           </h6>
118 <p>
119             Either
120           </p>
121 <p>
122             <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>
123           </p>
124 <p>
125             Or
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">algorithms</span><span class="special">/</span><span class="identifier">make</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
129           </p>
130 </div>
131 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
132 <td align="left"></td>
133 <td align="right"><div class="copyright-footer">Copyright &#169; 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
134       Wulkiewicz, Oracle and/or its affiliates<p>
135         Distributed under the Boost Software License, Version 1.0. (See accompanying
136         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>)
137       </p>
138 </div></td>
139 </tr></table>
140 <hr>
141 <div class="spirit-nav">
142 <a accesskey="p" href="make_inverse.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../make.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="../num_geometries.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
143 </div>
144 </body>
145 </html>