pyrobosim.utils.polygon.inflate_polygon

pyrobosim.utils.polygon.inflate_polygon(poly, radius)

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

Parameters:
  • poly (shapely.geometry.Polygon) – Shapely polygon.

  • radius (float) – Inflation radius, in meters.

Returns:

The inflated Shapely polygon.

Return type:

shapely.geometry.Polygon