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) |
Calculate the centroid of a Ring or a Linestring.
|
inlinestatic |
References boost::asio::begin, boost::end, boost::it, and boost::gil::view().
Referenced by boost::geometry::detail::centroid::centroid_range< geometry::closure< Ring >::value >::apply().