getContoursFromShapelyPolygon¶
- pyslm.hatching.getContoursFromShapelyPolygon(poly, mergeRings=True)¶
Returns the contours from boundaries extracted from exterior and interior paths of shapely geometry.
- Parameters:
poly (
Polygon) – Shapely polygonsmergeRings (
Optional[bool]) – IfTruecombines the interior and exteriors within each path group
- Return type:
Tuple[ndarray,ndarray]- Returns:
The paths extracted from the polygon paths