pub fn buffer_with<G>(
geometry: &G,
settings: BufferSettings,
) -> Result<MultiPolygon<Polygon<G::Point>>, OverlayError>where
G: Geometry,
G::Kind: BufferStrategyForKind,
<<G::Point as Point>::Cs as CoordinateSystem>::Family: DefaultBuffer<<<G::Point as Point>::Cs as CoordinateSystem>::Family>,
<G::Kind as BufferStrategyForKind>::S: BufferStrategy<G, DefaultBufferStrategy<G>>,Expand description
Buffer a geometry with Boost’s complete distance/side/join/end/point strategy bundle.
Mirrors the five explicit strategy arguments to boost::geometry::buffer
from algorithms/detail/buffer/interface.hpp:246-273.
§Errors
Returns OverlayError::Unsupported for non-finite/inapplicable distance
policies or degenerate linear input.