poly2Paths¶
- pyslm.hatching.poly2Paths(polygons)¶
Converts a
shapely.geometry.Polygonorshapely.geometry.MultiPolygonto a list of paths- Parameters:
polygons (
Union[Polygon,MultiPolygon]) – A polygon to convert to individual paths- Return type:
List[ndarray]- Returns:
A list of paths (interior and exterior) for each polygon