Optionalpoints: Point3[]Optionalweights: number[]Optionalclosed: booleanOptionalperiodic: booleanOptionaldegree: numberWeights for beziers that will be used, values should be between 0 and 1
Indicates wether Bezier will be cloed
OptionalperiodicBuild a smooth CLOSED (periodic) rational curve that wraps the weighted control polygon,
continuous across the seam - unlike closed, which only meets C0 by repeating the first
point. Requires one weight per point (the points are not duplicated). Ignores closed when set.
OptionaldegreeMaximum local degree used when periodic is set (clamped to [1, points-1]); empty uses a
sensible default. Ignored for the non-periodic rational Bezier.
Points through which the Bezier curve will be created