Interpolates x and y points on a curve to different arc lengths
interpolate_points_frame.Rd
For a 2D curve with (x,y) coordinates parameterized by the arc length, interpolate new (x,y) coordinates at new arc lengths. Smooth the input data with a smoothing spline.
Arguments
- arclen
Input arc length
- x, y
Coordinates of points on the curve
- arclen_out
New arc length
- spar
Smoothing parameter (ranges from 0 for no smoothing to 1 for high smoothing; see
smooth.spline()
for more details.)