API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.CurvePrimitiveId > getRootAsCurvePrimitiveId getRootAsCurvePrimitiveId MethodStatic getRootAsCurvePrimitiveId(bb: ByteBuffer, obj?: BGFBAccessors.CurvePrimitiveId): BGFBAccessors.CurvePrimitiveId Parameter Type Description bb ByteBuffer obj BGFBAccessors.CurvePrimitiveId Returns - BGFBAccessors.CurvePrimitiveId CurvePrimitiveId Defined in serialization/BGFBAccessors.ts Line 2609 Last Updated: 12 June, 2024