cartopy.mpl.patch.path_to_geos#

cartopy.mpl.patch.path_to_geos(path, force_ccw=False)[源代码]#

从创建Shapely几何对象列表 matplotlib.path.Path .

参数:
  • path -- A matplotlib.path.Path instance.

  • force_ccw -- 布尔标志,确定路径是否可以反转以强制ccw。默认为假。

返回:

A list of instances of the following type(s) -- shapely.geometry.polygon.Polygon , shapely.geometry.linestring.LineString 和/或 shapely.geometry.multilinestring.MultiLineString .