Resamples a polyline path into evenly spaced segments.
Useful for normalizing the resolution of geometric shapes before applying further mathematical transformations (like mathematical waves).
The original array of Points defining the continuous path.
The desired number of evenly spaced segments.
A new array of Points representing the resampled path.
Resamples a polyline path into evenly spaced segments.
Useful for normalizing the resolution of geometric shapes before applying further mathematical transformations (like mathematical waves).