Skip to content
Permalink
Browse files

Adds DEFAULT_M_COORDINATE

  • Loading branch information
lbartoletti committed Apr 30, 2021
1 parent e8d02b1 commit 96974d907cde870077a7f17bd7827258b0553dc3
Showing with 9 additions and 0 deletions.
  1. +2 −0 src/core/qgis.cpp
  2. +7 −0 src/core/qgis.h
@@ -56,6 +56,8 @@ const double Qgis::SCALE_PRECISION = 0.9999999999;

const double Qgis::DEFAULT_Z_COORDINATE = 0.0;

const double Qgis::DEFAULT_M_COORDINATE = 0.0;

const double Qgis::DEFAULT_SNAP_TOLERANCE = 12.0;

const QgsTolerance::UnitType Qgis::DEFAULT_SNAP_UNITS = QgsTolerance::Pixels;
@@ -175,6 +175,13 @@ class CORE_EXPORT Qgis
*/
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.
* \since QGIS 3.20
*/
static const double DEFAULT_M_COORDINATE;

/**
* UI scaling factor. This should be applied to all widget sizes obtained from font metrics,
* to account for differences in the default font sizes across different platforms.

0 comments on commit 96974d9

Please sign in to comment.