py3dtiles.tileset.content.b3dm module

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

Bases: TileContent

static from_array(array)[source]

Parameters

array : numpy.array

Returns

t : TileContent

static from_glTF(gltf, bt=None)[source]

Parameters

gltfGlTF

glTF object representing a set of objects

btBatch Table (optional)

BatchTable object containing per-feature metadata

Returns

tile : TileContent

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

Bases: TileContentBody

static from_array(th, array)[source]

Parameters

th : TileContentHeader

array : numpy.array

Returns

b : TileContentBody

static from_glTF(glTF)[source]

Parameters

th : TileContentHeader

glTF : GlTF

Returns

b : TileContentBody

to_array()[source]
class py3dtiles.tileset.content.b3dm.B3dmHeader[source]

Bases: TileContentHeader

BYTE_LENGTH = 28
static from_array(array)[source]

Parameters

array : numpy.array

Returns

h : TileContentHeader

sync(body)[source]

Allow to synchronize headers with contents.

to_array()[source]