polygon

mipylib.geolib.migeo.polygon(x, y = None)

Create polygon from coordinate data.

Parameters
  • x – (array_like) X coordinate array. If y is None, x should be 2-D array contains x and y.

  • y – (array_like) Y coordinate array.

Returns

(PolygonShape) Created polygon.