QGIS/python/analysis/auto_additions/qgstininterpolator.py
qgis-bot a75e957f8c
Add missing enum class monkey patching (#62737)
Fix accidental API break introduced by #61451

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2025-08-01 05:14:23 +02: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