QGIS/python/core/auto_generated/elevation/qgsprofilesnapping.sip.in
Nyall Dawson e6b65767cf Use different snap tolerances when snapping to points vs snapping
to continuous elevation surfaces

When snapping to a surface we want to be very "grabby" in the height
axis but ungrabby in the distance axis. For points we should be equally
grabby on either axis.
2022-04-29 19:58:21 +10:00

64 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/elevation/qgsprofilesnapping.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsProfileSnapContext
{
%Docstring(signature="appended")
Encapsulates the context of snapping a profile point.
.. versionadded:: 3.26
%End
%TypeHeaderCode
#include "qgsprofilesnapping.h"
%End
public:
double maximumSurfaceDistanceDelta;
double maximumSurfaceElevationDelta;
double maximumPointDistanceDelta;
double maximumPointElevationDelta;
double displayRatioElevationVsDistance;
};
class QgsProfileSnapResult
{
%Docstring(signature="appended")
Encapsulates results of snapping a profile point.
.. versionadded:: 3.26
%End
%TypeHeaderCode
#include "qgsprofilesnapping.h"
%End
public:
QgsProfilePoint snappedPoint;
bool isValid() const;
%Docstring
Returns ``True`` if the result is a valid point.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/elevation/qgsprofilesnapping.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/