ARCSAMPLE
Given X and Y points that describe a closed curve in 2D space, this function returns an output curve that is sampled a specified number of times at approximately equal arc distances.
FANNING SOFTWARE CONSULTING David Fanning, Ph.D. 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: david@idlcoyote.com Coyote's Guide to IDL Programming: http://www.idlcoyote.com
Utilities
ArcSample, x_in, y_in, x_out, y_out
x_in: The input X vector of points. y_in: The input Y vector of points.
x_out: The output X vector of points. y_out: The output Y vector of points.
POINTS: The number of points in the output vectors. Default: 50. PHASE: A scalar between 0.0 and 1.0, for fine control of where interpolates are sampled. Default: 0.0.
Written by David W. Fanning, 1 December 2003, based on code supplied to me by Craig Markwardt.