ShapeReducer使用Douglas-Peucker线近似算法进行路径优化。许可协议:BSDObjective CSimplify-Swift许可协议:MITSimplifySwift许可协议:MIT