18#ifndef QGSALGORITHMTRANSECTBASE_H
19#define QGSALGORITHMTRANSECTBASE_H
53 QString
group()
const final;
55 QStringList
tags()
const override;
58 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
final;
65 virtual void addAlgorithmParams() = 0;
84 virtual std::vector<QgsPoint>
91 virtual double calculateAzimuth(
const QgsLineString &line,
const QgsPoint &point,
int pointIndex ) = 0;
96 static QgsGeometry calcTransect(
const QgsPoint &point,
double angleAtVertex,
double length, Side orientation,
double angle,
Direction direction );
99 Side mOrientation = Both;
100 double mAngle = 90.0;
101 double mLength = 5.0;
102 bool mDynamicAngle =
false;
103 bool mDynamicLength =
false;
QFlags< ProcessingAlgorithmDocumentationFlag > ProcessingAlgorithmDocumentationFlags
Flags describing algorithm behavior for documentation purposes.
A geometry is the spatial representation of a feature.
Line string geometry type, with support for z-dimension and m-values.
Point geometry type, with support for z-dimension and m-values.
Abstract base class for processing algorithms.
virtual QString group() const
Returns the name of the group this algorithm belongs to.
virtual QString groupId() const
Returns the unique ID of the group this algorithm belongs to.
virtual QString shortDescription() const
Returns an optional translated short description of the algorithm.
virtual QVariantMap processAlgorithm(const QVariantMap ¶meters, QgsProcessingContext &context, QgsProcessingFeedback *feedback)=0
Runs the algorithm using the specified parameters.
virtual QStringList tags() const
Returns a list of tags which relate to the algorithm, and are used to assist users in searching for s...
virtual void initAlgorithm(const QVariantMap &configuration=QVariantMap())=0
Initializes the algorithm using the specified configuration.
virtual Qgis::ProcessingAlgorithmDocumentationFlags documentationFlags() const
Returns the flags describing algorithm behavior for documentation purposes.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.
A store for object properties.