py3dtiles.b3dm module

class py3dtiles.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.b3dm.B3dmBody[source]

Bases: TileBody

static from_array(th, array)[source]

Parameters

th : TileHeader

array : numpy.array

Returns

b : TileBody

static from_glTF(glTF)[source]

Parameters

th : TileHeader

glTF : GlTF

Returns

b : TileBody

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

Bases: TileHeader

BYTELENGTH = 28
static from_array(array)[source]

Parameters

array : numpy.array

Returns

h : TileHeader

sync(body)[source]

Allow to synchronize headers with contents.

to_array()[source]