createUniformKnots MethodStatic

Create a bspline with uniform knots.

  • Control points may be supplied as:
    • array of Point4d, with weight already multiplied into the [wx,wy,wz,w]
    • array of Point3d, with implied weight 1.
    • Float64Array, blocked as xyzw, i.e. 4 doubles per control point.

createUniformKnots(controlPoints: Point3d[] | Point4d[] | Float64Array, order: number): BSplineCurve3dH | undefined

Parameter Type Description
controlPoints Point3d[] | Point4d[] | Float64Array pole data in array form as noted above.
order number curve order (1 more than degree)

Returns - BSplineCurve3dH | undefined

Defined in

Last Updated: 13 June, 2024