Compute Method
Static all-in-one method to fit the splines and evaluate at X coordinates.
Syntax
Parameters
- x
- Input. X coordinates to fit.
- y
- Input. Y coordinates to fit.
- xs
- Input. X coordinates to evaluate the fitted curve at.
- startSlope
- Optional slope constraint for the first point. Single.NaN means no constraint.
- endSlope
- Optional slope constraint for the final point. Single.NaN means no constraint.
- debug
- Turn on console output. Default is false.
Return Value
The computed y values for each xs.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also