22 QString QgsDropMZValuesAlgorithm::name()
 const    24   return QStringLiteral( 
"dropmzvalues" );
    27 QString QgsDropMZValuesAlgorithm::displayName()
 const    29   return QObject::tr( 
"Drop M/Z values" );
    32 QStringList QgsDropMZValuesAlgorithm::tags()
 const    34   return QObject::tr( 
"drop,set,convert,m,measure,z,25d,3d,values" ).split( 
',' );
    37 QString QgsDropMZValuesAlgorithm::group()
 const    39   return QObject::tr( 
"Vector geometry" );
    42 QString QgsDropMZValuesAlgorithm::groupId()
 const    44   return QStringLiteral( 
"vectorgeometry" );
    47 QString QgsDropMZValuesAlgorithm::outputName()
 const    49   return QObject::tr( 
"Z/M Dropped" );
    52 QString QgsDropMZValuesAlgorithm::shortHelpString()
 const    54   return QObject::tr( 
"This algorithm can remove any measure (M) or Z values from input geometries." );
    57 QgsDropMZValuesAlgorithm *QgsDropMZValuesAlgorithm::createInstance()
 const    59   return new QgsDropMZValuesAlgorithm();
    62 void QgsDropMZValuesAlgorithm::initParameters( 
const QVariantMap & )
    85   mDropM = parameterAsBool( parameters, QStringLiteral( 
"DROP_M_VALUES" ), context );
    86   mDropZ = parameterAsBool( parameters, QStringLiteral( 
"DROP_Z_VALUES" ), context );
    97       newGeom->dropMValue();
    99       newGeom->dropZValue();
 A boolean parameter for processing algorithms. 
 
Base class for providing feedback from a processing algorithm. 
 
Invalid geometry checks should always be skipped. This flag can be useful for algorithms which always...
 
QList< QgsFeature > QgsFeatureList
 
A geometry is the spatial representation of a feature. 
 
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
 
bool hasGeometry() const
Returns true if the feature has an associated geometry. 
 
virtual QgsAbstractGeometry * clone() const =0
Clones the geometry by performing a deep copy. 
 
static Type dropM(Type type)
Drops the m dimension (if present) for a WKB type and returns the new type. 
 
Type
The WKB type describes the number of dimensions a geometry has. 
 
QgsGeometry geometry() const
Returns the geometry associated with this feature. 
 
Flag
Flags controlling how QgsProcessingFeatureSource fetches features. 
 
const QgsAbstractGeometry * constGet() const
Returns a non-modifiable (const) reference to the underlying abstract geometry primitive. 
 
static Type dropZ(Type type)
Drops the z dimension (if present) for a WKB type and returns the new type. 
 
void setGeometry(const QgsGeometry &geometry)
Set the feature's geometry. 
 
Contains information about the context in which a processing algorithm is executed.