mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Cleanup
This commit is contained in:
parent
bd5703cbfc
commit
113edccaa2
@ -27,8 +27,6 @@ related to analysis classes.
|
||||
|
||||
|
||||
|
||||
~QgsAnalysis();
|
||||
|
||||
static QgsAnalysis *instance();
|
||||
%Docstring
|
||||
Returns a pointer to the singleton instance.
|
||||
|
@ -48,8 +48,3 @@ QgsAnalysis::QgsAnalysis()
|
||||
mGeometryCheckRegistry->registerGeometryCheck( new QgsGeometryCheckFactoryT<QgsGeometryOverlapCheck>() );
|
||||
mGeometryCheckRegistry->registerGeometryCheck( new QgsGeometryCheckFactoryT<QgsGeometryMissingVertexCheck>() );
|
||||
}
|
||||
|
||||
QgsAnalysis::~QgsAnalysis()
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -41,8 +41,6 @@ class ANALYSIS_EXPORT QgsAnalysis
|
||||
//! QgsAnalysis cannot be copied
|
||||
QgsAnalysis &operator=( const QgsAnalysis &other ) = delete;
|
||||
|
||||
~QgsAnalysis();
|
||||
|
||||
/**
|
||||
* Returns a pointer to the singleton instance.
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@ class ANALYSIS_EXPORT QgsGeometryAngleCheck : public QgsGeometryCheck
|
||||
public:
|
||||
QgsGeometryAngleCheck( QgsGeometryCheckContext *context, const QVariantMap &configuration )
|
||||
: QgsGeometryCheck( FeatureNodeCheck, context, configuration )
|
||||
, mMinAngle( configuration.value( "minAngle", 0.0 ).toDouble() )
|
||||
, mMinAngle( configuration.value( QStringLiteral( "minAngle" ), 0.0 ).toDouble() )
|
||||
{}
|
||||
static QList<QgsWkbTypes::GeometryType> factoryCompatibleGeometryTypes() {return {QgsWkbTypes::LineGeometry, QgsWkbTypes::PolygonGeometry}; }
|
||||
static bool factoryIsCompatible( QgsVectorLayer *layer ) SIP_SKIP { return factoryCompatibleGeometryTypes().contains( layer->geometryType() ); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user