round_corner#
- zeroheliumkit.src.utils.round_corner(multipolygon: MultiPolygon, around_point: Point, radius: float, **kwargs) MultiPolygon[source]#
Rounds the corner of the closest polygon in a MultiPolygon around a given point with a specified radius.
- Parameters:
multipolygon (MultiPolygon) – The MultiPolygon object containing multiple polygons.
around_point (Point) – The point around which the corner needs to be rounded.
radius (float) – The radius of the rounded corner.
**kwargs – Additional keyword arguments to be passed to the round_polygon_corner function.
- Returns:
A new MultiPolygon object with the rounded corner.
- Return type:
MultiPolygon