ReachCurvature(XCoordinates, YCoordinates, Distances, Location, Reach_Scale, Average_Type)
Returns the least squares best fit radius of curvature at the specified location.
Input: XCoordinates = List of x-coordinates at locations along the channel (numbers) YCoordinates = List of x-coordinates at locations along the channel (numbers) Distances = Horizontal distance along the channel at each (x,y) coordinate (numbers) Location = Horizontal distance along the channel at which the radius of curvature is calculated (number)
Reach_Scale = Radius of curvature is calculated from the value, at the specified location,
Average_Type = Average type: 0 = fit data over one reach scale both upstream and downstream of l Output: The radius of curvature of the channel reach (number) |