QGIS/python/core/auto_additions/qgsabstractprofilegenerator.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

13 lines
1.1 KiB
Python

# The following has been generated automatically from src/core/elevation/qgsabstractprofilegenerator.h
try:
QgsProfileIdentifyContext.__attribute_docs__ = {'maximumSurfaceDistanceDelta': 'Maximum allowed snapping delta for the distance values when identifying a continuous elevation surface', 'maximumSurfaceElevationDelta': 'Maximum allowed snapping delta for the elevation values when identifying a continuous elevation surface', 'maximumPointDistanceDelta': 'Maximum allowed snapping delta for the distance values when identifying a point', 'maximumPointElevationDelta': 'Maximum allowed snapping delta for the elevation values when identifying a point', 'displayRatioElevationVsDistance': 'Display ratio of elevation vs distance units', 'project': 'Associated project.'}
except NameError:
pass
try:
QgsAbstractProfileResults.__attribute_docs__ = {'layerIdentifier': 'Identifier for grouping output features', 'geometry': 'Exported geometry', 'attributes': 'Exported attributes'}
except NameError:
pass
QgsAbstractProfileResults.Feature.__doc__ = """Encapsulates information about a feature exported from the profile results.
.. versionadded:: 3.32"""