API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.BsplineSurface BGFBAccessors.BsplineSurface Class Methods Name Description constructor(): BGFBAccessors.BsplineSurface __init(i: number, bb: ByteBuffer): BGFBAccessors.BsplineSurface boundaries(obj?: BGFBAccessors.CurveVector): | BGFBAccessors.CurveVector closedU(): boolean closedV(): boolean holeOrigin(): number knotsU(index: number): | number knotsUArray(): | Float64Array knotsULength(): number knotsV(index: number): | number knotsVArray(): | Float64Array knotsVLength(): number numPolesU(): number numPolesV(): number numRulesU(): number numRulesV(): number orderU(): number orderV(): number poles(index: number): | number polesArray(): | Float64Array polesLength(): number weights(index: number): | number weightsArray(): | Float64Array weightsLength(): number addBoundaries(builder: Builder, boundariesOffset: number): void Static addClosedU(builder: Builder, closedU: boolean): void Static addClosedV(builder: Builder, closedV: boolean): void Static addHoleOrigin(builder: Builder, holeOrigin: number): void Static addKnotsU(builder: Builder, knotsUOffset: number): void Static addKnotsV(builder: Builder, knotsVOffset: number): void Static addNumPolesU(builder: Builder, numPolesU: number): void Static addNumPolesV(builder: Builder, numPolesV: number): void Static addNumRulesU(builder: Builder, numRulesU: number): void Static addNumRulesV(builder: Builder, numRulesV: number): void Static addOrderU(builder: Builder, orderU: number): void Static addOrderV(builder: Builder, orderV: number): void Static addPoles(builder: Builder, polesOffset: number): void Static addWeights(builder: Builder, weightsOffset: number): void Static createBsplineSurface(builder: Builder, polesOffset: number, weightsOffset: number, knotsUOffset: number, knotsVOffset: number, numPolesU: number, numPolesV: number, orderU: number, orderV: number, numRulesU: number, numRulesV: number, holeOrigin: number, boundariesOffset: number, closedU: boolean, closedV: boolean): number Static createKnotsUVector(builder: Builder, data: number[] | Uint8Array): number Static createKnotsVVector(builder: Builder, data: number[] | Uint8Array): number Static createPolesVector(builder: Builder, data: number[] | Uint8Array): number Static createWeightsVector(builder: Builder, data: number[] | Uint8Array): number Static endBsplineSurface(builder: Builder): number Static getRootAsBsplineSurface(bb: ByteBuffer, obj?: BGFBAccessors.BsplineSurface): BGFBAccessors.BsplineSurface Static getSizePrefixedRootAsBsplineSurface(bb: ByteBuffer, obj?: BGFBAccessors.BsplineSurface): BGFBAccessors.BsplineSurface Static startBsplineSurface(builder: Builder): void Static startKnotsUVector(builder: Builder, numElems: number): void Static startKnotsVVector(builder: Builder, numElems: number): void Static startPolesVector(builder: Builder, numElems: number): void Static startWeightsVector(builder: Builder, numElems: number): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in serialization/BGFBAccessors.ts Line 2982 Last Updated: 12 June, 2024