createPeriodicUniformKnots MethodStatic
Create a smoothly closed homogeneous B-spline curve with uniform knots.
- Note that the curve does not start at the first pole!
- Control points (poles) 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 [wx,wy,wz,w], i.e. 4 numbers per control point.
- array of Point4d, with weight already multiplied into the
createPeriodicUniformKnots(poles: Float64Array | Point3d[] | Point4d[], order: number): undefined | BSplineCurve3dH
Parameter | Type | Description |
---|---|---|
poles | Float64Array | Point3d[] | Point4d[] | control point data in array form as noted above. |
order | number | curve order (1 more than degree) |
Returns - undefined | BSplineCurve3dH
Defined in
- bspline/BSplineCurve3dH.ts Line 152
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.