API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.LineString BGFBAccessors.LineString Class Methods Name Description constructor(): BGFBAccessors.LineString __init(i: number, bb: ByteBuffer): BGFBAccessors.LineString points(index: number): | number pointsArray(): | Float64Array pointsLength(): number addPoints(builder: Builder, pointsOffset: number): void Static createLineString(builder: Builder, pointsOffset: number): number Static createPointsVector(builder: Builder, data: number[] | Uint8Array): number Static endLineString(builder: Builder): number Static getRootAsLineString(bb: ByteBuffer, obj?: BGFBAccessors.LineString): BGFBAccessors.LineString Static getSizePrefixedRootAsLineString(bb: ByteBuffer, obj?: BGFBAccessors.LineString): BGFBAccessors.LineString Static startLineString(builder: Builder): void Static startPointsVector(builder: Builder, numElems: number): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in serialization/BGFBAccessors.ts Line 1338 Last Updated: 12 June, 2024