mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-04 00:06:46 -05:00
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.
64 lines
1.8 KiB
Plaintext
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 *
|
|
************************************************************************/
|