mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-17 00:09:36 -04:00
Fix accidental API break introduced by #61451 Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
22 lines
996 B
Python
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
|