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]#
get_batch_table_binary_property(name: str) ndarray[Any, dtype[Any]][source]#

Get a binary property from a batch table. Internally forward to self.body.batch_table.get_binary_property(name).

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]#
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#