25 QString QgsForceRHRAlgorithm::name()
const
27 return QStringLiteral(
"forcerhr" );
30 QString QgsForceRHRAlgorithm::displayName()
const
32 return QObject::tr(
"Force right-hand-rule" );
35 QStringList QgsForceRHRAlgorithm::tags()
const
37 return QObject::tr(
"clockwise,counter,orientation,ring,repair,invalid,geometry,make,valid" ).split(
',' );
40 QString QgsForceRHRAlgorithm::group()
const
42 return QObject::tr(
"Vector geometry" );
45 QString QgsForceRHRAlgorithm::groupId()
const
47 return QStringLiteral(
"vectorgeometry" );
55 QString QgsForceRHRAlgorithm::outputName()
const
57 return QObject::tr(
"Reoriented" );
60 QString 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." );
67 QString QgsForceRHRAlgorithm::shortDescription()
const
69 return QObject::tr(
"Forces polygon geometries to respect the Right-Hand-Rule." );
72 QList<int> QgsForceRHRAlgorithm::inputLayerTypes()
const
77 QgsForceRHRAlgorithm *QgsForceRHRAlgorithm::createInstance()
const
79 return new QgsForceRHRAlgorithm();