25QString QgsForceRHRAlgorithm::name()
const
27 return QStringLiteral(
"forcerhr" );
30QString QgsForceRHRAlgorithm::displayName()
const
32 return QObject::tr(
"Force right-hand-rule" );
35QStringList QgsForceRHRAlgorithm::tags()
const
37 return QObject::tr(
"clockwise,counter,orientation,ring,repair,invalid,geometry,make,valid" ).split(
',' );
40QString QgsForceRHRAlgorithm::group()
const
42 return QObject::tr(
"Vector geometry" );
45QString QgsForceRHRAlgorithm::groupId()
const
47 return QStringLiteral(
"vectorgeometry" );
55QString QgsForceRHRAlgorithm::outputName()
const
57 return QObject::tr(
"Reoriented" );
60QString QgsForceRHRAlgorithm::shortHelpString()
const
62 return QObject::tr(
"This algorithm forces polygon geometries to respect the Right-Hand-Rule, in which the area that is bounded by a polygon "
63 "is to the right of the boundary. In particular, the exterior ring is oriented in a clockwise direction and the interior "
64 "rings in a counter-clockwise direction." );
67QString QgsForceRHRAlgorithm::shortDescription()
const
69 return QObject::tr(
"Forces polygon geometries to respect the Right-Hand-Rule." );
72QList<int> QgsForceRHRAlgorithm::inputLayerTypes()
const
77QgsForceRHRAlgorithm *QgsForceRHRAlgorithm::createInstance()
const
79 return new QgsForceRHRAlgorithm();
@ VectorPolygon
Vector polygon layers.
@ SkipGeometryValidityChecks
Invalid geometry checks should always be skipped. This flag can be useful for algorithms which always...
QFlags< ProcessingFeatureSourceFlag > ProcessingFeatureSourceFlags
Flags which control how QgsProcessingFeatureSource fetches features.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
bool hasGeometry() const
Returns true if the feature has an associated geometry.
void setGeometry(const QgsGeometry &geometry)
Set the feature's geometry.
QgsGeometry forceRHR() const
Forces geometries to respect the Right-Hand-Rule, in which the area that is bounded by a polygon is t...
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.
QList< QgsFeature > QgsFeatureList