1[/============================================================================ 2 Boost.Geometry (aka GGL, Generic Geometry Library) 3 4 Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands. 5 Copyright (c) 2008-2013 Bruno Lalande, Paris, France. 6 Copyright (c) 2009-2013 Mateusz Loskot, London, UK. 7 8 Use, modification and distribution is subject to the Boost Software License, 9 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 10 http://www.boost.org/LICENSE_1_0.txt) 11=============================================================================/] 12 13 14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically] 15[/ Generated from doxy/doxygen_output/xml/structboost_1_1geometry_1_1closeable__view.xml] 16[section:closeable_view closeable_view] 17 18'''<indexterm><primary>closeable_view</primary></indexterm>''' 19View on a range, either closing it or leaving it as it is. 20 21[heading Description] 22The closeable\u005fview is used internally by the library to handle all rings, either closed or open, the same way. The default method is closed, all algorithms process rings as if they are closed. Therefore, if they are opened, a view is created which closes them. The closeable\u005fview might be used by library users, but its main purpose is internally. 23 24[heading Synopsis] 25``template<typename Range, closure_selector Close> 26struct closeable_view 27{ 28 // ... 29}; 30`` 31 32[heading Template parameter(s)] 33[table 34[[Parameter] [Description]] 35[[typename Range] [Original range ]] 36[[closure_selector Close] [Specifies if it the range is closed, if so, nothing will happen. If it is open, it will iterate the first point after the last point. ]] 37] 38 39[heading Header] 40Either 41 42`#include <boost/geometry.hpp>` 43 44 45Or 46 47`#include <boost/geometry/views/closeable_view.hpp>` 48 49[endsect] 50 51