pyrobosim.utils.polygon.inflate_polygon

pyrobosim.utils.polygon.inflate_polygon(poly: Polygon, radius: float) Polygon

Inflates a Shapely polygon with options preconfigured for this world modeling framework.

Parameters:
  • poly – Shapely polygon.

  • radius – Inflation radius, in meters.

Returns:

The inflated Shapely polygon.