Makes a box behave like a ring or a range. More...
#include <box_view.hpp>


Public Types | |
| typedef geometry::point_type < Box >::type | point_type |
Public Member Functions | |
| box_view (Box const &box) | |
| Constructor accepting the box to adapt. More... | |
Makes a box behave like a ring or a range.
Adapts a box to the Boost.Range concept, enabling the user to iterating box corners. The box_view is registered as a Ring Concept
| Box | {Box} |
| Clockwise | If true, walks in clockwise direction, otherwise it walks in counterclockwise direction |
{before.synopsis, [heading Model of] [link geometry.reference.concepts.concept_ring Ring Concept] }
{[include reference/views/box_view.qbk]}
| typedef geometry::point_type<Box>::type boost::geometry::box_view< Box, Clockwise >::point_type |
|
inlineexplicit |
Constructor accepting the box to adapt.