Centroid calculation taking average of points. More...
#include <centroid_average.hpp>
Public Types | |
typedef sum | state_type |
typedef PointCentroid | centroid_point_type |
typedef Point | point_type |
Static Public Member Functions | |
static void | apply (Point const &p, sum &state) |
static void | result (sum const &state, PointCentroid ¢roid) |
Centroid calculation taking average of points.
typedef PointCentroid boost::geometry::strategy::centroid::average< PointCentroid, Point >::centroid_point_type |
typedef Point boost::geometry::strategy::centroid::average< PointCentroid, Point >::point_type |
typedef sum boost::geometry::strategy::centroid::average< PointCentroid, Point >::state_type |
|
inlinestatic |
References boost::geometry::add_point().
|
inlinestatic |
References boost::geometry::divide_value().