API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.LineSegment BGFBAccessors.LineSegment Class Methods Name Description constructor(): BGFBAccessors.LineSegment __init(i: number, bb: ByteBuffer): BGFBAccessors.LineSegment segment(obj?: BGFBAccessors.DSegment3d): | BGFBAccessors.DSegment3d addSegment(builder: Builder, segmentOffset: number): void Static createLineSegment(builder: Builder, segmentOffset: number): number Static endLineSegment(builder: Builder): number Static getRootAsLineSegment(bb: ByteBuffer, obj?: BGFBAccessors.LineSegment): BGFBAccessors.LineSegment Static getSizePrefixedRootAsLineSegment(bb: ByteBuffer, obj?: BGFBAccessors.LineSegment): BGFBAccessors.LineSegment Static startLineSegment(builder: Builder): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in serialization/BGFBAccessors.ts Line 1262 Last Updated: 11 June, 2024