template<typename Point, typename PointOfSegment = Point, typename CalculationType = void>
class boost::geometry::strategy::centroid::bashein_detmer< Point, PointOfSegment, CalculationType >
Centroid calculation using algorithm Bashein / Detmer.
Calculates centroid using triangulation method published by Bashein / Detmer
- Template Parameters
-
Point | point type of centroid to calculate |
PointOfSegment | point type of segments, defaults to Point |
CalculationType | |
- Author
- Adapted from "Centroid of a Polygon" by Gerard Bashein and Paul R. Detmer, in "Graphics Gems IV", Academic Press, 1994
{ [heading See also] [link geometry.reference.algorithms.centroid.centroid_3_with_strategy centroid (with strategy)] }