mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
101 lines
3.2 KiB
Plaintext
101 lines
3.2 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgsvectorsimplifymethod.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsVectorSimplifyMethod
|
|
{
|
|
%Docstring(signature="appended")
|
|
Contains settings for simplifying geometries fetched from a vector
|
|
layer.
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsvectorsimplifymethod.h"
|
|
%End
|
|
public:
|
|
static const QMetaObject staticMetaObject;
|
|
|
|
public:
|
|
QgsVectorSimplifyMethod();
|
|
%Docstring
|
|
construct a default object
|
|
%End
|
|
|
|
void setSimplifyHints( Qgis::VectorRenderingSimplificationFlags simplifyHints );
|
|
%Docstring
|
|
Sets the simplification hints of the vector layer managed
|
|
%End
|
|
Qgis::VectorRenderingSimplificationFlags simplifyHints() const;
|
|
%Docstring
|
|
Gets the simplification hints of the vector layer managed
|
|
%End
|
|
|
|
void setSimplifyAlgorithm( Qgis::VectorSimplificationAlgorithm simplifyAlgorithm );
|
|
%Docstring
|
|
Sets the local simplification algorithm of the vector layer managed
|
|
%End
|
|
Qgis::VectorSimplificationAlgorithm simplifyAlgorithm() const;
|
|
%Docstring
|
|
Gets the local simplification algorithm of the vector layer managed
|
|
%End
|
|
|
|
void setTolerance( double tolerance );
|
|
%Docstring
|
|
Sets the tolerance of simplification in map units. Represents the
|
|
maximum distance in map units between two coordinates which can be
|
|
considered equal
|
|
%End
|
|
double tolerance() const;
|
|
%Docstring
|
|
Gets the tolerance of simplification in map units. Represents the
|
|
maximum distance in map units between two coordinates which can be
|
|
considered equal
|
|
%End
|
|
|
|
void setThreshold( float threshold );
|
|
%Docstring
|
|
Sets the simplification threshold of the vector layer managed
|
|
%End
|
|
float threshold() const;
|
|
%Docstring
|
|
Gets the simplification threshold of the vector layer managed
|
|
%End
|
|
|
|
void setForceLocalOptimization( bool localOptimization );
|
|
%Docstring
|
|
Sets where the simplification executes, after fetch the geometries from
|
|
provider, or when supported, in provider before fetch the geometries
|
|
%End
|
|
bool forceLocalOptimization() const;
|
|
%Docstring
|
|
Gets where the simplification executes, after fetch the geometries from
|
|
provider, or when supported, in provider before fetch the geometries
|
|
%End
|
|
|
|
void setMaximumScale( float maximumScale );
|
|
%Docstring
|
|
Sets the maximum scale at which the layer should be simplified
|
|
%End
|
|
float maximumScale() const;
|
|
%Docstring
|
|
Gets the maximum scale at which the layer should be simplified
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgsvectorsimplifymethod.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|