General Toolkit - adresamp2


Function File: [xs, ys] = adresamp2 (x, y, n, eps)

Perform an adaptive resampling of a planar curve. The arrays x and y specify x and y coordinates of the points of the curve. On return, the same curve is approximated by xs, ys that have length n and the angles between successive segments are approximately equal.