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::centroid::centroid_range_state< Closure > Struct Template Reference

Calculate the centroid of a Ring or a Linestring. More...

#include <centroid.hpp>

Static Public Member Functions

template<typename Ring , typename PointTransformer , typename Strategy >
static void apply (Ring const &ring, PointTransformer const &transformer, Strategy const &strategy, typename Strategy::state_type &state)
 

Detailed Description

template<closure_selector Closure>
struct boost::geometry::detail::centroid::centroid_range_state< Closure >

Calculate the centroid of a Ring or a Linestring.

Member Function Documentation

template<closure_selector Closure>
template<typename Ring , typename PointTransformer , typename Strategy >
static void boost::geometry::detail::centroid::centroid_range_state< Closure >::apply ( Ring const &  ring,
PointTransformer const &  transformer,
Strategy const &  strategy,
typename Strategy::state_type &  state 
)
inlinestatic

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