QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsVectorSimplifyMethod Class Reference

This class contains information how to simplify geometries fetched from a vector layer. More...

#include <qgsvectorsimplifymethod.h>

Public Member Functions

 QgsVectorSimplifyMethod ()
 construct a default object
 
bool forceLocalOptimization () const
 Gets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries.
 
float maximumScale () const
 Gets the maximum scale at which the layer should be simplified.
 
void setForceLocalOptimization (bool localOptimization)
 Sets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries.
 
void setMaximumScale (float maximumScale)
 Sets the maximum scale at which the layer should be simplified.
 
void setSimplifyAlgorithm (Qgis::VectorSimplificationAlgorithm simplifyAlgorithm)
 Sets the local simplification algorithm of the vector layer managed.
 
void setSimplifyHints (Qgis::VectorRenderingSimplificationFlags simplifyHints)
 Sets the simplification hints of the vector layer managed.
 
void setThreshold (float threshold)
 Sets the simplification threshold of the vector layer managed.
 
void setTolerance (double tolerance)
 Sets the tolerance of simplification in map units. Represents the maximum distance in map units between two coordinates which can be considered equal.
 
Qgis::VectorSimplificationAlgorithm simplifyAlgorithm () const
 Gets the local simplification algorithm of the vector layer managed.
 
Qgis::VectorRenderingSimplificationFlags simplifyHints () const
 Gets the simplification hints of the vector layer managed.
 
float threshold () const
 Gets the simplification threshold of the vector layer managed.
 
double tolerance () const
 Gets the tolerance of simplification in map units. Represents the maximum distance in map units between two coordinates which can be considered equal.
 

Detailed Description

This class contains information how to simplify geometries fetched from a vector layer.

Definition at line 30 of file qgsvectorsimplifymethod.h.

Constructor & Destructor Documentation

◆ QgsVectorSimplifyMethod()

QgsVectorSimplifyMethod::QgsVectorSimplifyMethod ( )

construct a default object

Definition at line 20 of file qgsvectorsimplifymethod.cpp.

Member Function Documentation

◆ forceLocalOptimization()

bool QgsVectorSimplifyMethod::forceLocalOptimization ( ) const
inline

Gets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries.

Definition at line 60 of file qgsvectorsimplifymethod.h.

◆ maximumScale()

float QgsVectorSimplifyMethod::maximumScale ( ) const
inline

Gets the maximum scale at which the layer should be simplified.

Definition at line 65 of file qgsvectorsimplifymethod.h.

◆ setForceLocalOptimization()

void QgsVectorSimplifyMethod::setForceLocalOptimization ( bool  localOptimization)
inline

Sets where the simplification executes, after fetch the geometries from provider, or when supported, in provider before fetch the geometries.

Definition at line 58 of file qgsvectorsimplifymethod.h.

◆ setMaximumScale()

void QgsVectorSimplifyMethod::setMaximumScale ( float  maximumScale)
inline

Sets the maximum scale at which the layer should be simplified.

Definition at line 63 of file qgsvectorsimplifymethod.h.

◆ setSimplifyAlgorithm()

void QgsVectorSimplifyMethod::setSimplifyAlgorithm ( Qgis::VectorSimplificationAlgorithm  simplifyAlgorithm)
inline

Sets the local simplification algorithm of the vector layer managed.

Definition at line 43 of file qgsvectorsimplifymethod.h.

◆ setSimplifyHints()

void QgsVectorSimplifyMethod::setSimplifyHints ( Qgis::VectorRenderingSimplificationFlags  simplifyHints)
inline

Sets the simplification hints of the vector layer managed.

Definition at line 38 of file qgsvectorsimplifymethod.h.

◆ setThreshold()

void QgsVectorSimplifyMethod::setThreshold ( float  threshold)
inline

Sets the simplification threshold of the vector layer managed.

Definition at line 53 of file qgsvectorsimplifymethod.h.

◆ setTolerance()

void QgsVectorSimplifyMethod::setTolerance ( double  tolerance)
inline

Sets the tolerance of simplification in map units. Represents the maximum distance in map units between two coordinates which can be considered equal.

Definition at line 48 of file qgsvectorsimplifymethod.h.

◆ simplifyAlgorithm()

Qgis::VectorSimplificationAlgorithm QgsVectorSimplifyMethod::simplifyAlgorithm ( ) const
inline

Gets the local simplification algorithm of the vector layer managed.

Definition at line 45 of file qgsvectorsimplifymethod.h.

◆ simplifyHints()

Qgis::VectorRenderingSimplificationFlags QgsVectorSimplifyMethod::simplifyHints ( ) const
inline

Gets the simplification hints of the vector layer managed.

Definition at line 40 of file qgsvectorsimplifymethod.h.

◆ threshold()

float QgsVectorSimplifyMethod::threshold ( ) const
inline

Gets the simplification threshold of the vector layer managed.

Definition at line 55 of file qgsvectorsimplifymethod.h.

◆ tolerance()

double QgsVectorSimplifyMethod::tolerance ( ) const
inline

Gets the tolerance of simplification in map units. Represents the maximum distance in map units between two coordinates which can be considered equal.

Definition at line 50 of file qgsvectorsimplifymethod.h.


The documentation for this class was generated from the following files: