Skip to content
Permalink
Browse files
remove mention about 2.5d geometries and add a missing since
  • Loading branch information
lbartoletti committed Apr 30, 2021
1 parent 1b7b9e8 commit 405d0dd46d203bb584dcdff79228cb87ef5f1a27
Showing with 12 additions and 8 deletions.
  1. +4 −2 python/gui/auto_generated/qgsmaptooledit.sip.in
  2. +4 −4 src/core/qgis.h
  3. +4 −2 src/gui/qgsmaptooledit.h
@@ -26,13 +26,15 @@ Base class for map tools that edit vector geometry
double defaultZValue() const;
%Docstring
Returns default Z value
Use for set Z coordinate to new vertex for 2.5d geometries
Use for set Z coordinate to new vertex
%End

double defaultMValue() const;
%Docstring
Returns default M value
Use for set M coordinate to new vertex for 2.5d geometries
Use for set M coordinate to new vertex

.. versionadded:: 3.20
%End

protected:
@@ -169,15 +169,15 @@ class CORE_EXPORT Qgis
static const double SCALE_PRECISION;

/**
* Default Z coordinate value for 2.5d geometry
* This value have to be assigned to the Z coordinate for the new 2.5d geometry vertex.
* Default Z coordinate value
* This value have to be assigned to the Z coordinate for the vertex.
* \since QGIS 3.0
*/
static const double DEFAULT_Z_COORDINATE;

/**
* Default M coordinate value for 2.5d geometry
* This value have to be assigned to the M coordinate for the new 2.5d geometry vertex.
* Default M coordinate value
* This value have to be assigned to the M coordinate for the vertex.
* \since QGIS 3.20
*/
static const double DEFAULT_M_COORDINATE;
@@ -40,13 +40,15 @@ class GUI_EXPORT QgsMapToolEdit: public QgsMapTool

/**
* Returns default Z value
* Use for set Z coordinate to new vertex for 2.5d geometries
* Use for set Z coordinate to new vertex
*/
double defaultZValue() const;

/**
* Returns default M value
* Use for set M coordinate to new vertex for 2.5d geometries
* Use for set M coordinate to new vertex
*
* \since QGIS 3.20
*/
double defaultMValue() const;

0 comments on commit 405d0dd

Please sign in to comment.