API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.VariantGeometry BGFBAccessors.VariantGeometry Class Methods Name Description constructor(): BGFBAccessors.VariantGeometry __init(i: number, bb: ByteBuffer): BGFBAccessors.VariantGeometry geometry<T extends Table>(obj: T): | T geometryType(): BGFBAccessors.VariantGeometryUnion tag(obj?: BGFBAccessors.CurvePrimitiveId): | BGFBAccessors.CurvePrimitiveId addGeometry(builder: Builder, geometryOffset: number): void Static addGeometryType(builder: Builder, geometryType: BGFBAccessors.VariantGeometryUnion): void Static addTag(builder: Builder, tagOffset: number): void Static createVariantGeometry(builder: Builder, geometryType: BGFBAccessors.VariantGeometryUnion, geometryOffset: number, tagOffset: number): number Static endVariantGeometry(builder: Builder): number Static getRootAsVariantGeometry(bb: ByteBuffer, obj?: BGFBAccessors.VariantGeometry): BGFBAccessors.VariantGeometry Static getSizePrefixedRootAsVariantGeometry(bb: ByteBuffer, obj?: BGFBAccessors.VariantGeometry): BGFBAccessors.VariantGeometry Static startVariantGeometry(builder: Builder): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in serialization/BGFBAccessors.ts Line 5973 Last Updated: 11 June, 2024