py3dtiles.pnts module

class py3dtiles.pnts.Pnts[source]

Bases: TileContent

static from_array(array)[source]

Parameters

array : numpy.array

Returns

t : TileContent

static from_features(pd_type, cd_type, features)[source]

Parameters

dtypenumpy.dtype

Numpy description of a single feature

features : Feature[]

Returns

tile : TileContent

class py3dtiles.pnts.PntsBody[source]

Bases: TileContentBody

static from_array(th, array)[source]

Parameters

th : TileContentHeader

array : numpy.array

Returns

b : TileContentBody

to_array()[source]
class py3dtiles.pnts.PntsHeader[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]