Generic implementation which calls a policy to calculate the centroid of the total of its single-geometries. More...
#include <centroid.hpp>
Static Public Member Functions | |
template<typename Multi , typename Point , typename Strategy > | |
static void | apply (Multi const &multi, Point ¢roid, Strategy const &strategy) |
Generic implementation which calls a policy to calculate the centroid of the total of its single-geometries.
The Policy is, in general, the single-version, with state. So detail::centroid::centroid_polygon_state is used as a policy for this detail::centroid::centroid_multi
|
inlinestatic |