1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>buffer_side_selector</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="../enumerations.html" title="Enumerations"> 9<link rel="prev" href="../enumerations.html" title="Enumerations"> 10<link rel="next" href="closure_selector.html" title="closure_selector"> 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="../enumerations.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../enumerations.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="closure_selector.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.enumerations.buffer_side_selector"></a><a class="link" href="buffer_side_selector.html" title="buffer_side_selector">buffer_side_selector</a> 28</h4></div></div></div> 29<p> 30 <a class="indexterm" name="idm45635682470640"></a> 31<a class="indexterm" name="idm45635682469824"></a> 32<a class="indexterm" name="idm45635682469008"></a> 33Enumerates options for side of buffer (left/right w.r.t. directed segment) 34 </p> 35<h6> 36<a name="geometry.reference.enumerations.buffer_side_selector.h0"></a> 37 <span class="phrase"><a name="geometry.reference.enumerations.buffer_side_selector.description"></a></span><a class="link" href="buffer_side_selector.html#geometry.reference.enumerations.buffer_side_selector.description">Description</a> 38 </h6> 39<p> 40 Around a linestring, a buffer can be defined left or right. Around a polygon, 41 assumed clockwise internally, a buffer is either on the left side (inflates 42 the polygon), or on the right side (deflates the polygon) 43 </p> 44<h6> 45<a name="geometry.reference.enumerations.buffer_side_selector.h1"></a> 46 <span class="phrase"><a name="geometry.reference.enumerations.buffer_side_selector.synopsis"></a></span><a class="link" href="buffer_side_selector.html#geometry.reference.enumerations.buffer_side_selector.synopsis">Synopsis</a> 47 </h6> 48<p> 49</p> 50<pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">buffer_side_selector</span> <span class="special">{</span><span class="identifier">buffer_side_left</span><span class="special">,</span> <span class="identifier">buffer_side_right</span><span class="special">};</span></pre> 51<p> 52 </p> 53<h6> 54<a name="geometry.reference.enumerations.buffer_side_selector.h2"></a> 55 <span class="phrase"><a name="geometry.reference.enumerations.buffer_side_selector.values"></a></span><a class="link" href="buffer_side_selector.html#geometry.reference.enumerations.buffer_side_selector.values">Values</a> 56 </h6> 57<div class="informaltable"><table class="table"> 58<colgroup> 59<col> 60<col> 61</colgroup> 62<thead><tr> 63<th> 64 <p> 65 Value 66 </p> 67 </th> 68<th> 69 <p> 70 Description 71 </p> 72 </th> 73</tr></thead> 74<tbody> 75<tr> 76<td> 77 <p> 78 buffer_side_left 79 </p> 80 </td> 81<td> 82 </td> 83</tr> 84<tr> 85<td> 86 <p> 87 buffer_side_right 88 </p> 89 </td> 90<td> 91 </td> 92</tr> 93</tbody> 94</table></div> 95<h6> 96<a name="geometry.reference.enumerations.buffer_side_selector.h3"></a> 97 <span class="phrase"><a name="geometry.reference.enumerations.buffer_side_selector.header"></a></span><a class="link" href="buffer_side_selector.html#geometry.reference.enumerations.buffer_side_selector.header">Header</a> 98 </h6> 99<p> 100 <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">strategies</span><span class="special">/</span><span class="identifier">buffer</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> 101 </p> 102</div> 103<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 104<td align="left"></td> 105<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 106 Wulkiewicz, Oracle and/or its affiliates<p> 107 Distributed under the Boost Software License, Version 1.0. (See accompanying 108 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>) 109 </p> 110</div></td> 111</tr></table> 112<hr> 113<div class="spirit-nav"> 114<a accesskey="p" href="../enumerations.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../enumerations.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="closure_selector.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> 115</div> 116</body> 117</html> 118