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 Namespace Reference

Classes

struct  centroid_indexed
 
struct  centroid_indexed_calculator
 
struct  centroid_indexed_calculator< Indexed, Point, DimensionCount, DimensionCount >
 
struct  centroid_multi
 Generic implementation which calls a policy to calculate the centroid of the total of its single-geometries. More...
 
struct  centroid_multi_point_state
 Building block of a multi-point, to be used as Policy in the more generec centroid_multi. More...
 
struct  centroid_point
 
struct  centroid_polygon
 
struct  centroid_polygon_state
 Centroid of a polygon. More...
 
struct  centroid_range
 
struct  centroid_range_state
 Calculate the centroid of a Ring or a Linestring. More...
 

Functions

template<typename Point , typename Range >
bool range_ok (Range const &range, Point &centroid)
 

Function Documentation

template<typename Point , typename Range >
bool boost::geometry::detail::centroid::range_ok ( Range const &  range,
Point &  centroid 
)
inline