py3dtiles package
- class py3dtiles.B3dm[source]
Bases:
TileContent
- class py3dtiles.BatchTable[source]
Bases:
object
Only the JSON header has been implemented for now. According to the batch table documentation, the binary body is useful for storing long arrays of data (better performances)
- class py3dtiles.Feature[source]
Bases:
object
- class py3dtiles.GlTF[source]
Bases:
object
- static from_binary_arrays(arrays, transform, binary=True, batched=True, uri=None, textureUri=None)[source]
Parameters
- arraysarray of dictionaries
Each dictionary has the data for one geometry arrays[‘position’]: binary array of vertex positions arrays[‘normal’]: binary array of vertex normals arrays[‘uv’]: binary array of vertex texture coordinates
(Not implemented yet)
arrays[‘bbox’]: geometry bounding box (numpy.array)
- transformnumpy.array
World coordinates transformation flattend matrix
Returns
glTF : GlTF
- class py3dtiles.Pnts[source]
Bases:
TileContent
- class py3dtiles.TriangleSoup[source]
Bases:
object
- static from_wkb_multipolygon(wkb, associatedData=[])[source]
Parameters
- wkbstring
Well-Known Binary binary string describing a multipolygon
- associatedDataarray
array of multipolygons containing data attached to the wkb parameter multipolygon. Must be the same size as wkb.
Returns
ts : TriangleSoup
Subpackages
Submodules
- py3dtiles.b3dm module
- py3dtiles.batch_table module
- py3dtiles.command_line module
- py3dtiles.constants module
- py3dtiles.convert module
- py3dtiles.earcut module
- py3dtiles.export module
- py3dtiles.feature_table module
- py3dtiles.gltf module
- py3dtiles.info module
- py3dtiles.merger module
- py3dtiles.pnts module
- py3dtiles.tile module
- py3dtiles.utils module
- py3dtiles.wkb_utils module