API Reference > imodeljs-common > Serialization > EGFBAccessors > EGFBAccessors.GeometryPart EGFBAccessors.GeometryPart Class Methods Name Description constructor(): EGFBAccessors.GeometryPart __init(i: number, bb: ByteBuffer): EGFBAccessors.GeometryPart geomPartId(): Long origin(obj?: EGFBAccessors.DPoint3d): | EGFBAccessors.DPoint3d pitch(): number roll(): number scale(): number yaw(): number addGeomPartId(builder: Builder, geomPartId: Long): void Static addOrigin(builder: Builder, originOffset: number): void Static addPitch(builder: Builder, pitch: number): void Static addRoll(builder: Builder, roll: number): void Static addScale(builder: Builder, scale: number): void Static addYaw(builder: Builder, yaw: number): void Static createGeometryPart(builder: Builder, geomPartId: Long, originOffset: number, yaw: number, pitch: number, roll: number, scale: number): number Static endGeometryPart(builder: Builder): number Static getRootAsGeometryPart(bb: ByteBuffer, obj?: EGFBAccessors.GeometryPart): EGFBAccessors.GeometryPart Static getSizePrefixedRootAsGeometryPart(bb: ByteBuffer, obj?: EGFBAccessors.GeometryPart): EGFBAccessors.GeometryPart Static startGeometryPart(builder: Builder): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in core/common/src/geometry/ElementGeometryFB.ts Line 1636 Last Updated: 12 June, 2024