pub fn centroid_with<G, S>(g: &G, s: S) -> S::Outputwhere
G: Geometry,
S: CentroidStrategy<G>,Expand description
Centroid of g using an explicitly supplied strategy.
Mirrors the centroid(g, p, strategy) overload at
boost/geometry/algorithms/centroid.hpp. Taking the strategy by
value (rather than by reference) matches the by-value call shape of
crate::distance_with; concrete strategies are
zero-sized configuration objects, so this monomorphises into nothing.