| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> |
| <title>closure_selector</title> |
| <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> |
| <link rel="home" href="../../../index.html" title="Chapter 1. Geometry 1.0"> |
| <link rel="up" href="../enumerations.html" title="Enumerations"> |
| <link rel="prev" href="../enumerations.html" title="Enumerations"> |
| <link rel="next" href="order_selector.html" title="order_selector"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <table cellpadding="2" width="100%"><tr> |
| <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> |
| <td align="center"><a href="../../../../../../../index.html">Home</a></td> |
| <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> |
| <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> |
| <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> |
| <td align="center"><a href="../../../../../../../more/index.htm">More</a></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"> |
| <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="order_selector.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> |
| </div> |
| <div class="section"> |
| <div class="titlepage"><div><div><h4 class="title"> |
| <a name="geometry.reference.enumerations.closure_selector"></a><a class="link" href="closure_selector.html" title="closure_selector">closure_selector</a> |
| </h4></div></div></div> |
| <p> |
| <a class="indexterm" name="id930145"></a> |
| <a class="indexterm" name="id930152"></a> |
| <a class="indexterm" name="id930159"></a> |
| <a class="indexterm" name="id930165"></a> |
| Enumerates options for defining if polygons are open or closed. |
| </p> |
| <a name="geometry.reference.enumerations.closure_selector.description"></a><h6> |
| <a name="geometry.reference.enumerations.closure_selector.description-heading"></a> |
| <a class="link" href="closure_selector.html#geometry.reference.enumerations.closure_selector.description">Description</a> |
| </h6> |
| <p> |
| The enumeration closure_selector describes options for if a polygon is |
| open or closed. In a closed polygon the very first point (per ring) should |
| be equal to the very last point. The specific closing property of a polygon |
| type is defined by the closure metafunction. The closure metafunction defines |
| a value, which is one of the values enumerated in the closure_selector |
| </p> |
| <a name="geometry.reference.enumerations.closure_selector.synopsis"></a><h6> |
| <a name="geometry.reference.enumerations.closure_selector.synopsis-heading"></a> |
| <a class="link" href="closure_selector.html#geometry.reference.enumerations.closure_selector.synopsis">Synopsis</a> |
| </h6> |
| <p> |
| |
| </p> |
| <pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">closure_selector</span> <span class="special">{</span><span class="identifier">open</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> <span class="identifier">closed</span> <span class="special">=</span> <span class="number">1</span><span class="special">,</span> <span class="identifier">closure_undertermined</span> <span class="special">=</span> <span class="special">-</span><span class="number">1</span><span class="special">};</span></pre> |
| <p> |
| </p> |
| <a name="geometry.reference.enumerations.closure_selector.values"></a><h6> |
| <a name="geometry.reference.enumerations.closure_selector.values-heading"></a> |
| <a class="link" href="closure_selector.html#geometry.reference.enumerations.closure_selector.values">Values</a> |
| </h6> |
| <div class="informaltable"><table class="table"> |
| <colgroup> |
| <col> |
| <col> |
| </colgroup> |
| <thead><tr> |
| <th> |
| <p> |
| Value |
| </p> |
| </th> |
| <th> |
| <p> |
| Description |
| </p> |
| </th> |
| </tr></thead> |
| <tbody> |
| <tr> |
| <td> |
| <p> |
| open |
| </p> |
| </td> |
| <td> |
| <p> |
| Rings are open: first point and last point are different, algorithms |
| close them explicitly on the fly |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| closed |
| </p> |
| </td> |
| <td> |
| <p> |
| Rings are closed: first point and last point must be the same. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <p> |
| closure_undertermined |
| </p> |
| </td> |
| <td> |
| <p> |
| (Not yet implemented): algorithms first figure out if ring must |
| be closed on the fly |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| <a name="geometry.reference.enumerations.closure_selector.header"></a><h6> |
| <a name="geometry.reference.enumerations.closure_selector.header-heading"></a> |
| <a class="link" href="closure_selector.html#geometry.reference.enumerations.closure_selector.header">Header</a> |
| </h6> |
| <p> |
| <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">core</span><span class="special">/</span><span class="identifier">closure</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code> |
| </p> |
| <a name="geometry.reference.enumerations.closure_selector.see_also"></a><h6> |
| <a name="geometry.reference.enumerations.closure_selector.see_also-heading"></a> |
| <a class="link" href="closure_selector.html#geometry.reference.enumerations.closure_selector.see_also">See |
| also</a> |
| </h6> |
| <p> |
| <a class="link" href="../core/closure.html" title="closure">The closure metafunction</a> |
| </p> |
| </div> |
| <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> |
| <td align="left"></td> |
| <td align="right"><div class="copyright-footer">Copyright © 2011 Barend Gehrels, Bruno Lalande, Mateusz Loskot<p> |
| Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 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>) |
| </p> |
| </div></td> |
| </tr></table> |
| <hr> |
| <div class="spirit-nav"> |
| <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="order_selector.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> |
| </div> |
| </body> |
| </html> |