Implement simplifying polylines
Implement simplifying polylines

We already had the implementation, just not the easy API for it.

Contributes to issue CURA-8636.

Ultimaker/CuraEngine,Ultimaker/CuraEngine