API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.CurvePrimitiveId BGFBAccessors.CurvePrimitiveId Class Methods Name Description constructor(): BGFBAccessors.CurvePrimitiveId __init(i: number, bb: ByteBuffer): BGFBAccessors.CurvePrimitiveId bytes(index: number): | number bytesArray(): | Uint8Array bytesLength(): number geomIndex(): number partIndex(): number type(): number addBytes(builder: Builder, bytesOffset: number): void Static addGeomIndex(builder: Builder, geomIndex: number): void Static addPartIndex(builder: Builder, partIndex: number): void Static addType(builder: Builder, type: number): void Static createBytesVector(builder: Builder, data: number[] | Uint8Array): number Static createCurvePrimitiveId(builder: Builder, type: number, geomIndex: number, partIndex: number, bytesOffset: number): number Static endCurvePrimitiveId(builder: Builder): number Static getRootAsCurvePrimitiveId(bb: ByteBuffer, obj?: BGFBAccessors.CurvePrimitiveId): BGFBAccessors.CurvePrimitiveId Static getSizePrefixedRootAsCurvePrimitiveId(bb: ByteBuffer, obj?: BGFBAccessors.CurvePrimitiveId): BGFBAccessors.CurvePrimitiveId Static startBytesVector(builder: Builder, numElems: number): void Static startCurvePrimitiveId(builder: Builder): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in serialization/BGFBAccessors.ts Line 2589 Last Updated: 12 June, 2024