API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.BsplineCurve BGFBAccessors.BsplineCurve Class Methods Name Description constructor(): BGFBAccessors.BsplineCurve __init(i: number, bb: ByteBuffer): BGFBAccessors.BsplineCurve closed(): boolean knots(index: number): | number knotsArray(): | Float64Array knotsLength(): number order(): number poles(index: number): | number polesArray(): | Float64Array polesLength(): number weights(index: number): | number weightsArray(): | Float64Array weightsLength(): number addClosed(builder: Builder, closed: boolean): void Static addKnots(builder: Builder, knotsOffset: number): void Static addOrder(builder: Builder, order: number): void Static addPoles(builder: Builder, polesOffset: number): void Static addWeights(builder: Builder, weightsOffset: number): void Static createBsplineCurve(builder: Builder, order: number, closed: boolean, polesOffset: number, weightsOffset: number, knotsOffset: number): number Static createKnotsVector(builder: Builder, data: number[] | Uint8Array): number Static createPolesVector(builder: Builder, data: number[] | Uint8Array): number Static createWeightsVector(builder: Builder, data: number[] | Uint8Array): number Static endBsplineCurve(builder: Builder): number Static getRootAsBsplineCurve(bb: ByteBuffer, obj?: BGFBAccessors.BsplineCurve): BGFBAccessors.BsplineCurve Static getSizePrefixedRootAsBsplineCurve(bb: ByteBuffer, obj?: BGFBAccessors.BsplineCurve): BGFBAccessors.BsplineCurve Static startBsplineCurve(builder: Builder): void Static startKnotsVector(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 1640 Last Updated: 12 June, 2024