Makes a segment behave like a linestring or a range. More...
#include <segment_view.hpp>
Public Types | |
typedef geometry::point_type < Segment >::type | point_type |
Public Member Functions | |
segment_view (Segment const &segment) | |
Constructor accepting the segment to adapt. More... | |
Makes a segment behave like a linestring or a range.
Adapts a segment to the Boost.Range concept, enabling the user to iterate the two segment points. The segment_view is registered as a LineString Concept
Segment | {Segment} |
{before.synopsis, [heading Model of] [link geometry.reference.concepts.concept_linestring LineString Concept] }
{[include reference/views/segment_view.qbk]}
typedef geometry::point_type<Segment>::type boost::geometry::segment_view< Segment >::point_type |
|
inlineexplicit |
Constructor accepting the segment to adapt.