py3dtiles.tileset.content.b3dm module

class py3dtiles.tileset.content.b3dm.B3dm(header: B3dmHeader, body: B3dmBody)[source]

Bases: TileContent

static from_array(array: ndarray[Any, dtype[uint8]]) B3dm[source]
static from_gltf(gltf: GlTF, batch_table: BatchTable | None = None) B3dm[source]
print_info() None[source]
sync() None[source]

Allow to synchronize headers with contents.

class py3dtiles.tileset.content.b3dm.B3dmBody[source]

Bases: TileContentBody

static from_array(b3dm_header: B3dmHeader, array: ndarray[Any, dtype[uint8]]) B3dmBody[source]
static from_gltf(gltf: GlTF) B3dmBody[source]
to_array() ndarray[Any, dtype[uint8]][source]
class py3dtiles.tileset.content.b3dm.B3dmHeader[source]

Bases: TileContentHeader

BYTE_LENGTH = 28
static from_array(array: ndarray[Any, dtype[uint8]]) B3dmHeader[source]
magic_value: Literal[b'b3dm', b'pnts']
to_array() ndarray[Any, dtype[uint8]][source]
version: int