generatePolygonBoundingBox

pyslm.support.generatePolygonBoundingBox(bbox)

Generates a Shapely Polygon based on the extents of the bounding box of the object passed

Parameters:

bbox (ndarray) – The bounding box representing the gemometry

Return type:

Polygon

Returns:

A 2D polygon representing the bounding box