SwiftSimplify icon indicating copy to clipboard operation
SwiftSimplify copied to clipboard

🥷 High-performance polyline simplification library - port of simplify.js

Results 5 SwiftSimplify issues
Sort by recently updated
recently updated
newest added

I added the property `isMandatory` to `Point2DRepresentable`. This allows to mark certain points as mandatory - so that regardless of the simplification process, they're always included in the result. I'm...

`SwiftSimplify/Package.swift The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99.` Should we an easy fix.

Hi, I'm using the pods and when I try to simplify my [CCLocation2D] consisting in 2125 points the function return my an array with only 2 values. I'm doing this:...

question

For my work I needed to keep array copies at a minimum (dealing with arrays with 100s of 1000s of points) and modified the code here to include an `ArraySlice`...

enhancement

https://github.com/malcommac/SwiftSimplify/blob/95856a3fce40e4a77f51050d5b6c1f59da072355/Sources/SwiftSimplify/Point2DRepresentable.swift#L54 These appear to be returning a standard Pythagoras result, but the result is not square rooted. AFAIK this is not meant to be the case but I haven't had...