Centroid of a polygon.
More...
#include <centroid.hpp>
|
template<typename Polygon , typename PointTransformer , typename Strategy > |
static void | apply (Polygon const &poly, PointTransformer const &transformer, Strategy const &strategy, typename Strategy::state_type &state) |
|
Centroid of a polygon.
- Note
- Because outer ring is clockwise, inners are counter clockwise, triangle approach is OK and works for polygons with rings.
template<typename Polygon , typename PointTransformer , typename Strategy >
static void boost::geometry::detail::centroid::centroid_polygon_state::apply |
( |
Polygon const & |
poly, |
|
|
PointTransformer const & |
transformer, |
|
|
Strategy const & |
strategy, |
|
|
typename Strategy::state_type & |
state |
|
) |
| |
|
inlinestatic |
The documentation for this struct was generated from the following file: