constructFitParametersFromPoints MethodStatic

Construct fit parameters for the c2 cubic fit algorithm.

constructFitParametersFromPoints(fitPoints: Point3d[], isChordLength: number, closed: boolean): number[] | undefined

@returns fit parameters, one per fit point

Parameter Type Description
fitPoints Point3d[] validated fit points (should not contain duplicates)
isChordLength number whether knots are computed using distances between successive fit points
closed boolean whether curve is periodically defined

Returns - number[] | undefined

fit parameters, one per fit point

Defined in

Last Updated: 07 May, 2026