Boost.Geometry    Boost C++ Libraries
boost::geometry::closeable_view< Range, Close > Struct Template Reference

View on a range, either closing it or leaving it as it is. More...


Detailed Description

template<typename Range, closure_selector Close>
struct boost::geometry::closeable_view< Range, Close >

View on a range, either closing it or leaving it as it is.

The closeable_view 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_view might be used by library users, but its main purpose is internally.

Template Parameters:
RangeOriginal range
CloseSpecifies 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.

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen