API Reference > geometry-core > Bspline > BSplineSurface3d > createGrid createGrid MethodStatic Create a bspline surface. This create variant takes control points in a "grid" array, with the points from each grid row [rowIndex] being an independent array points[rowIndex][indexAlongRow][x,y,z] knotArrayU and knotArrayV are optional -- uniform knots are implied if they are omited (undefined). When knots are given, two knot count conditions are recognized: If poleArray.length + order == knotArray.length, the first and last are assumed to be the extraneous knots of classic clamping. If poleArray.length + order == knotArray.length + 2, the knots are in modern form that does not have the classic unused first and last knot. createGrid(points: number[][][], orderU: number, knotArrayU: number[] | Float64Array | undefined, orderV: number, knotArrayV: number[] | Float64Array | undefined): BSplineSurface3d | undefined Parameter Type Description points number[][][] orderU number order for the U direction polynomial (order is one more than the degree. "cubic" polynomial is order 4.) knotArrayU number[] | Float64Array | undefined orderV number order for the V direction polynomial (order is one more than the degree. "cubic" polynomial is order 4.) knotArrayV number[] | Float64Array | undefined Returns - BSplineSurface3d | undefined Defined in core/geometry/src/bspline/BSplineSurface.ts Line 626 Last Updated: 13 June, 2024