py3dtiles.tileset.content.tile_content module#

class py3dtiles.tileset.content.tile_content.TileContent[source]#

Bases: ABC

body: TileContentBody#
abstract static from_array(array: ndarray[Any, dtype[uint8]]) TileContent[source]#
header: TileContentHeader#
save_as(path: Path) None[source]#
abstract sync() None[source]#

Allow to synchronize headers with contents.

to_array() ndarray[Any, dtype[uint8]][source]#
to_hex_str() str[source]#
class py3dtiles.tileset.content.tile_content.TileContentBody[source]#

Bases: ABC

batch_table: BatchTable#
feature_table: FeatureTable[Any, Any]#
abstract to_array() ndarray[Any, dtype[uint8]][source]#
class py3dtiles.tileset.content.tile_content.TileContentHeader[source]#

Bases: ABC

abstract static from_array(array: ndarray[Any, dtype[uint8]]) TileContentHeader[source]#
magic_value: Literal[b'b3dm', b'pnts']#
abstract to_array() ndarray[Any, dtype[uint8]][source]#
version: int#