Skip to main content

computeCatmullRomSpline

Constants

sample : Array.<number>
p0 : Array.<number>
p1 : Array.<number>
p2 : Array.<number>
p3 : Array.<number>

Functions

computeCatmullRomSpline(result, input, input_length, dimensions, sample_count, [alpha])

sample : Array.<number>

Kind: global constant

p0 : Array.<number>

Kind: global constant

p1 : Array.<number>

Kind: global constant

p2 : Array.<number>

Kind: global constant

p3 : Array.<number>

Kind: global constant

computeCatmullRomSpline(result, input, input_length, dimensions, sample_count, [alpha])

Kind: global function

ParamTypeDefaultDescription
resultArray.<number>
inputArray.<number>
input_lengthnumbernumber of points in the input
dimensionsnumbernumber of dimensions per vertex
sample_countnumbernumber of discrete points to be generated
[alpha]number0.5parameter for control point weights (see non-parametric catmull-rom for details on "alpha" definition)