buffer_polygon# sectionproperties.pre.geometry.buffer_polygon(polygon: Polygon, amount: float, resolution: int) → Polygon | MultiPolygon[source]# Buffers (erode/corrode) a polygon by amount given a resolution. Parameters: polygon (Polygon) – Polygon to buffer amount (float) – Amount to buffer resolution (int) – Number of segments used to approximate a quarter circle around a point Returns: Buffered polygon Return type: Polygon | MultiPolygon