• 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</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.html" title="exterior_ring">
10<link rel="next" href="exterior_ring_1_const_version.html" title="exterior_ring (const version)">
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.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="exterior_ring_1_const_version.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"></a><a class="link" href="exterior_ring_1.html" title="exterior_ring">exterior_ring</a>
28</h5></div></div></div>
29<p>
30            <a class="indexterm" name="idm45635712094624"></a>
31Function to get the exterior_ring ring of a polygon.
32          </p>
33<h6>
34<a name="geometry.reference.access.exterior_ring.exterior_ring_1.h0"></a>
35            <span class="phrase"><a name="geometry.reference.access.exterior_ring.exterior_ring_1.synopsis"></a></span><a class="link" href="exterior_ring_1.html#geometry.reference.access.exterior_ring.exterior_ring_1.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">Polygon</span><span class="special">&gt;</span>
40<span class="identifier">ring_return_type</span><span class="special">&lt;</span><span class="identifier">Polygon</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="special">&amp;</span> <span class="identifier">polygon</span><span class="special">)</span></pre>
41<p>
42          </p>
43<h6>
44<a name="geometry.reference.access.exterior_ring.exterior_ring_1.h1"></a>
45            <span class="phrase"><a name="geometry.reference.access.exterior_ring.exterior_ring_1.parameters"></a></span><a class="link" href="exterior_ring_1.html#geometry.reference.access.exterior_ring.exterior_ring_1.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><tr>
77<td>
78                    <p>
79                      Polygon &amp;
80                    </p>
81                  </td>
82<td>
83                    <p>
84                      polygon type
85                    </p>
86                  </td>
87<td>
88                    <p>
89                      polygon
90                    </p>
91                  </td>
92<td>
93                    <p>
94                      the polygon to get the exterior ring from
95                    </p>
96                  </td>
97</tr></tbody>
98</table></div>
99<h6>
100<a name="geometry.reference.access.exterior_ring.exterior_ring_1.h2"></a>
101            <span class="phrase"><a name="geometry.reference.access.exterior_ring.exterior_ring_1.returns"></a></span><a class="link" href="exterior_ring_1.html#geometry.reference.access.exterior_ring.exterior_ring_1.returns">Returns</a>
102          </h6>
103<p>
104            a reference to the exterior ring
105          </p>
106<h6>
107<a name="geometry.reference.access.exterior_ring.exterior_ring_1.h3"></a>
108            <span class="phrase"><a name="geometry.reference.access.exterior_ring.exterior_ring_1.header"></a></span><a class="link" href="exterior_ring_1.html#geometry.reference.access.exterior_ring.exterior_ring_1.header">Header</a>
109          </h6>
110<p>
111            Either
112          </p>
113<p>
114            <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>
115          </p>
116<p>
117            Or
118          </p>
119<p>
120            <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>
121          </p>
122</div>
123<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
124<td align="left"></td>
125<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
126      Wulkiewicz, Oracle and/or its affiliates<p>
127        Distributed under the Boost Software License, Version 1.0. (See accompanying
128        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>)
129      </p>
130</div></td>
131</tr></table>
132<hr>
133<div class="spirit-nav">
134<a accesskey="p" href="../exterior_ring.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="exterior_ring_1_const_version.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
135</div>
136</body>
137</html>
138