prepareBSplineCurveData MethodStatic

Prepare imported B-spline curve data for eventual conversion to BSplineCurve3d | BSplineCurve3dH:

  • Opens legacy "fake" periodic data by expanding knots
  • Opens true periodic data by expanding poles and weights

prepareBSplineCurveData(data: SerializationHelpers.BSplineCurveData, options?: SerializationHelpers.BSplineDataOptions): boolean

@returns whether data was successfully prepared

Parameter Type Description
data SerializationHelpers.BSplineCurveData updated in place. If poles/weights/knots are updated, their respective arrays are reallocated.
options SerializationHelpers.BSplineDataOptions output specifications

Returns - boolean

whether data was successfully prepared

Defined in

Last Updated: 14 November, 2024