QGIS/python/analysis/auto_additions/qgstininterpolator.py
Nyall Dawson e0af537c87 Add missing enum class monkey patching
Fix accidental API break introduced by #61451
2025-08-01 06:21:05 +10:00

22 lines
996 B
Python

# The following has been generated automatically from src/analysis/interpolation/qgstininterpolator.h
# monkey patching scoped based enum
QgsTinInterpolator.Linear = QgsTinInterpolator.TinInterpolation.Linear
QgsTinInterpolator.Linear.is_monkey_patched = True
QgsTinInterpolator.Linear.__doc__ = "Linear interpolation"
QgsTinInterpolator.CloughTocher = QgsTinInterpolator.TinInterpolation.CloughTocher
QgsTinInterpolator.CloughTocher.is_monkey_patched = True
QgsTinInterpolator.CloughTocher.__doc__ = "Clough-Tocher interpolation"
QgsTinInterpolator.TinInterpolation.__doc__ = """Indicates the type of interpolation to be performed
* ``Linear``: Linear interpolation
* ``CloughTocher``: Clough-Tocher interpolation
"""
# --
try:
QgsTinInterpolator.triangulationFields = staticmethod(QgsTinInterpolator.triangulationFields)
QgsTinInterpolator.__overridden_methods__ = ['interpolatePoint']
QgsTinInterpolator.__group__ = ['interpolation']
except (NameError, AttributeError):
pass