simplifyBoundaries¶
-
pyslm.hatching.
simplifyBoundaries
(paths, tolerance=0.5, method='')¶ Simplify the boundaries of paths using Douglas-Peucker algorithm provided by the scikit-image library or an internal method within shapely.
- Parameters:
paths (
List
[Any
]) – The paths to simplifytolerance (
Optional
[float
]) – The simplification tolerance usedmethod (
Optional
[str
]) – Not used
- Return type:
Any
- Returns:
Simplified paths