• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>exterior_ring (const version)</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="../exterior_ring.html" title="exterior_ring">
9<link rel="prev" href="exterior_ring_1.html" title="exterior_ring">
10<link rel="next" href="../interior_rings.html" title="interior_rings">
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="exterior_ring_1.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../exterior_ring.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="../interior_rings.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.exterior_ring.exterior_ring_1_const_version"></a><a class="link" href="exterior_ring_1_const_version.html" title="exterior_ring (const version)">exterior_ring
28          (const version)</a>
29</h5></div></div></div>
30<p>
31            <a class="indexterm" name="idm45635712045136"></a>
32Function to get the exterior ring of a polygon (const version)
33          </p>
34<h6>
35<a name="geometry.reference.access.exterior_ring.exterior_ring_1_const_version.h0"></a>
36            <span class="phrase"><a name="geometry.reference.access.exterior_ring.exterior_ring_1_const_version.synopsis"></a></span><a class="link" href="exterior_ring_1_const_version.html#geometry.reference.access.exterior_ring.exterior_ring_1_const_version.synopsis">Synopsis</a>
37          </h6>
38<p>
39</p>
40<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Polygon</span><span class="special">&gt;</span>
41<span class="identifier">ring_return_type</span><span class="special">&lt;</span><span class="identifier">Polygon</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">exterior_ring</span><span class="special">(</span><span class="identifier">Polygon</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">polygon</span><span class="special">)</span></pre>
42<p>
43          </p>
44<h6>
45<a name="geometry.reference.access.exterior_ring.exterior_ring_1_const_version.h1"></a>
46            <span class="phrase"><a name="geometry.reference.access.exterior_ring.exterior_ring_1_const_version.parameters"></a></span><a class="link" href="exterior_ring_1_const_version.html#geometry.reference.access.exterior_ring.exterior_ring_1_const_version.parameters">Parameters</a>
47          </h6>
48<div class="informaltable"><table class="table">
49<colgroup>
50<col>
51<col>
52<col>
53<col>
54</colgroup>
55<thead><tr>
56<th>
57                    <p>
58                      Type
59                    </p>
60                  </th>
61<th>
62                    <p>
63                      Concept
64                    </p>
65                  </th>
66<th>
67                    <p>
68                      Name
69                    </p>
70                  </th>
71<th>
72                    <p>
73                      Description
74                    </p>
75                  </th>
76</tr></thead>
77<tbody><tr>
78<td>
79                    <p>
80                      Polygon const &amp;
81                    </p>
82                  </td>
83<td>
84                    <p>
85                      polygon type
86                    </p>
87                  </td>
88<td>
89                    <p>
90                      polygon
91                    </p>
92                  </td>
93<td>
94                    <p>
95                      the polygon to get the exterior ring from
96                    </p>
97                  </td>
98</tr></tbody>
99</table></div>
100<h6>
101<a name="geometry.reference.access.exterior_ring.exterior_ring_1_const_version.h2"></a>
102            <span class="phrase"><a name="geometry.reference.access.exterior_ring.exterior_ring_1_const_version.returns"></a></span><a class="link" href="exterior_ring_1_const_version.html#geometry.reference.access.exterior_ring.exterior_ring_1_const_version.returns">Returns</a>
103          </h6>
104<p>
105            a const reference to the exterior ring
106          </p>
107<h6>
108<a name="geometry.reference.access.exterior_ring.exterior_ring_1_const_version.h3"></a>
109            <span class="phrase"><a name="geometry.reference.access.exterior_ring.exterior_ring_1_const_version.header"></a></span><a class="link" href="exterior_ring_1_const_version.html#geometry.reference.access.exterior_ring.exterior_ring_1_const_version.header">Header</a>
110          </h6>
111<p>
112            Either
113          </p>
114<p>
115            <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>
116          </p>
117<p>
118            Or
119          </p>
120<p>
121            <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">core</span><span class="special">/</span><span class="identifier">exterior_ring</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
122          </p>
123</div>
124<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
125<td align="left"></td>
126<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
127      Wulkiewicz, Oracle and/or its affiliates<p>
128        Distributed under the Boost Software License, Version 1.0. (See accompanying
129        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>)
130      </p>
131</div></td>
132</tr></table>
133<hr>
134<div class="spirit-nav">
135<a accesskey="p" href="exterior_ring_1.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../exterior_ring.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="../interior_rings.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
136</div>
137</body>
138</html>
139