API Reference > geometry-core > Bspline > BezierCurveBase > allocateAndZeroBezierWorkData allocateAndZeroBezierWorkData MethodProtected set up the _workBezier members with specific order. Try to reuse existing members if their sizes match. Ignore members corresponding to args that are 0 or negative. allocateAndZeroBezierWorkData(primaryBezierOrder: number, orderA: number, orderB: number): void Parameter Type Description primaryBezierOrder number order of expected bezier orderA number length of _workCoffsA (simple array) orderB number length of _workCoffsB (simple array) Returns - void Defined in core/geometry/src/bspline/BezierCurveBase.ts Line 172 Last Updated: 15 June, 2021