API Reference > imodeljs-common > Serialization > EGFBAccessors > EGFBAccessors.PointPrimitive2d EGFBAccessors.PointPrimitive2d Class Methods Name Description constructor(): EGFBAccessors.PointPrimitive2d __init(i: number, bb: ByteBuffer): EGFBAccessors.PointPrimitive2d boundary(): EGFBAccessors.BoundaryType coords(index: number, obj?: EGFBAccessors.DPoint2d): | EGFBAccessors.DPoint2d coordsLength(): number addBoundary(builder: Builder, boundary: EGFBAccessors.BoundaryType): void Static addCoords(builder: Builder, coordsOffset: number): void Static createPointPrimitive2d(builder: Builder, coordsOffset: number, boundary: EGFBAccessors.BoundaryType): number Static endPointPrimitive2d(builder: Builder): number Static getRootAsPointPrimitive2d(bb: ByteBuffer, obj?: EGFBAccessors.PointPrimitive2d): EGFBAccessors.PointPrimitive2d Static getSizePrefixedRootAsPointPrimitive2d(bb: ByteBuffer, obj?: EGFBAccessors.PointPrimitive2d): EGFBAccessors.PointPrimitive2d Static startCoordsVector(builder: Builder, numElems: number): void Static startPointPrimitive2d(builder: Builder): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in core/common/src/geometry/ElementGeometryFB.ts Line 854 Last Updated: 12 June, 2024