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(pdtype, cdtype, features)[source]

Parameters

dtypenumpy.dtype

Numpy description of a single feature

features : Feature[]

Returns

tile : TileContent

class py3dtiles.pnts.PntsBody[source]

Bases: TileBody

static from_array(th, array)[source]

Parameters

th : TileHeader

array : numpy.array

Returns

b : TileBody

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