Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::detail::length::range_length< Range, Closure > Struct Template Reference

Internal, calculates length of a linestring using iterator pairs and specified strategy. More...

#include <length.hpp>

Inheritance diagram for boost::geometry::detail::length::range_length< Range, Closure >:

Public Types

typedef default_length_result
< Range >::type 
return_type
 

Static Public Member Functions

template<typename Strategy >
static return_type apply (Range const &range, Strategy const &strategy)
 

Detailed Description

template<typename Range, closure_selector Closure>
struct boost::geometry::detail::length::range_length< Range, Closure >

Internal, calculates length of a linestring using iterator pairs and specified strategy.

Note
for_each could be used here, now that point_type is changed by boost range iterator

Member Typedef Documentation

template<typename Range, closure_selector Closure>
typedef default_length_result<Range>::type boost::geometry::detail::length::range_length< Range, Closure >::return_type

Member Function Documentation

template<typename Range, closure_selector Closure>
template<typename Strategy >
static return_type boost::geometry::detail::length::range_length< Range, Closure >::apply ( Range const &  range,
Strategy const &  strategy 
)
inlinestatic

The documentation for this struct was generated from the following file: