QGIS/python/core/auto_additions/qgscesiumutils.py
Nyall Dawson 989e62a80f Handle docstrings for c++ structs
sip doesn't support the docstring directive for structs (only classes),
so patch these back in via sipify magic
2024-08-16 07:28:29 +10:00

14 lines
911 B
Python

# The following has been generated automatically from src/core/tiledscene/qgscesiumutils.h
try:
QgsCesiumUtils.__attribute_docs__ = {'gltf': 'GLTF binary content', 'rtcCenter': 'Center position of relative-to-center coordinates (when used)'}
except NameError:
pass
QgsCesiumUtils.parseRegion = staticmethod(QgsCesiumUtils.parseRegion)
QgsCesiumUtils.parseBox = staticmethod(QgsCesiumUtils.parseBox)
QgsCesiumUtils.parseSphere = staticmethod(QgsCesiumUtils.parseSphere)
QgsCesiumUtils.transformSphere = staticmethod(QgsCesiumUtils.transformSphere)
QgsCesiumUtils.extractGltfFromB3dm = staticmethod(QgsCesiumUtils.extractGltfFromB3dm)
QgsCesiumUtils.extractGltfFromTileContent = staticmethod(QgsCesiumUtils.extractGltfFromTileContent)
QgsCesiumUtils.B3DMContents.__doc__ = """Encapsulates the contents of a B3DM file."""
QgsCesiumUtils.TileContents.__doc__ = """Encapsulates the contents of a 3D tile."""