17#ifndef QGSPROFILEREQUEST_H
18#define QGSPROFILEREQUEST_H
203 std::unique_ptr< QgsCurve> mCurve;
207 double mTolerance = 0;
209 double mStepDistance = std::numeric_limits<float>::quiet_NaN();
211 std::unique_ptr< QgsAbstractTerrainProvider > mTerrainProvider;
Abstract base class for terrain providers.
Represents a coordinate reference system (CRS).
Contains information about the context in which a coordinate transform is executed.
Abstract base class for curved geometry type.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Encapsulates properties and constraints relating to fetching elevation profiles from different source...
QgsProfileRequest(QgsCurve *curve)
Constructor for QgsProfileRequest.
QgsExpressionContext & expressionContext()
Returns the expression context used to evaluate expressions.
QgsCoordinateReferenceSystem crs() const
Returns the desired Coordinate Reference System for the profile.
double stepDistance() const
Returns the profile step distance (in crs() units).
double tolerance() const
Returns the tolerance of the request (in crs() units).
QgsProfileRequest & setTransformContext(const QgsCoordinateTransformContext &context)
Sets the transform context, for use when transforming coordinates from a source to the request's crs(...
QgsCurve * profileCurve() const
Returns the cross section profile curve, which represents the line along which the profile should be ...
const QgsExpressionContext & expressionContext() const
Returns the expression context used to evaluate expressions.
QgsProfileRequest & setProfileCurve(QgsCurve *curve)
Sets the cross section profile curve, which represents the line along which the profile should be gen...
QgsProfileRequest & setTolerance(double tolerance)
Sets the tolerance of the request (in crs() units).
QgsProfileRequest & setCrs(const QgsCoordinateReferenceSystem &crs)
Sets the desired Coordinate Reference System (crs) for the profile.
QgsProfileRequest & operator=(const QgsProfileRequest &other)
QgsCoordinateTransformContext transformContext() const
Returns the transform context, for use when transforming coordinates from a source to the request's c...
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
bool operator!=(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)