mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
sip doesn't support the docstring directive for structs (only classes), so patch these back in via sipify magic
12 lines
880 B
Python
12 lines
880 B
Python
# The following has been generated automatically from src/analysis/interpolation/qgsinterpolator.h
|
|
try:
|
|
QgsInterpolatorVertexData.__attribute_docs__ = {'x': 'X-coordinate', 'y': 'Y-coordinate', 'z': 'Z-coordinate'}
|
|
except NameError:
|
|
pass
|
|
try:
|
|
QgsInterpolator.__attribute_docs__ = {'source': 'Feature source', 'valueSource': 'Source for feature values to interpolate', 'interpolationAttribute': 'Index of feature attribute to use for interpolation', 'sourceType': 'Source type', 'transformContext': 'Coordinate transform context.\n\n.. versionadded:: 3.10.1'}
|
|
except NameError:
|
|
pass
|
|
QgsInterpolatorVertexData.__doc__ = """Interpolation data for an individual source vertex."""
|
|
QgsInterpolator.LayerData.__doc__ = """A source together with the information about interpolation attribute / z-coordinate interpolation and the type (point, structure line, breakline)"""
|