QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef QGSABSTRACTPROFILESURFACEGENERATOR_H
18 #define QGSABSTRACTPROFILESURFACEGENERATOR_H
20 #include "qgis_core.h"
45 double minZ = std::numeric_limits< double >::max();
46 double maxZ = std::numeric_limits< double >::lowest();
99 #endif // QGSABSTRACTPROFILESURFACEGENERATOR_H
Encapsulates the context of identifying profile results.
Encapsulates results of snapping a profile point.
std::unique_ptr< QgsFillSymbol > mFillSymbol
ProfileSurfaceSymbology
Surface symbology type for elevation profile plots.
Abstract base class for objects which generate elevation profiles.
Abstract base class for storage of elevation profiles.
std::unique_ptr< QgsLineSymbol > mLineSymbol
Encapsulates the context of snapping a profile point.
virtual QVector< QgsProfileIdentifyResults > identify(const QgsProfilePoint &point, const QgsProfileIdentifyContext &context)
Identify results visible at the specified profile point.
virtual QgsPointSequence sampledPoints() const =0
Returns a list of sampled points, with their calculated elevation as the point z value.
Encapsulates a point on a distance-elevation profile.
@ Line
The elevation surface will be rendered using a line symbol.
virtual void copyPropertiesFromGenerator(const QgsAbstractProfileGenerator *generator)
Copies properties from specified generator to the results object.
virtual QVector< QgsGeometry > asGeometries() const =0
Returns a list of geometries representing the calculated elevation results.
Abstract base class for storage of elevation profiles which represent a continuous surface (e....
std::unique_ptr< QgsLineSymbol > mLineSymbol
QgsPointSequence mRawPoints
virtual QgsDoubleRange zRange() const =0
Returns the range of the retrieved elevation values.
A line symbol type, for rendering LineString and MultiLineString geometries.
std::unique_ptr< QgsFillSymbol > mFillSymbol
virtual void renderResults(QgsProfileRenderContext &context)=0
Renders the results to the specified context.
Abstract base class for objects which generate elevation profiles which represent a continuous surfac...
QMap< double, double > mDistanceToHeightMap
QgsRange which stores a range of double values.
QVector< QgsPoint > QgsPointSequence
virtual QMap< double, double > distanceToHeightMap() const =0
Returns the map of distance (chainage) to height.
A fill symbol type, for rendering Polygon and MultiPolygon geometries.
Abstract base class for storage of elevation profiles.
virtual QgsProfileSnapResult snapPoint(const QgsProfilePoint &point, const QgsProfileSnapContext &context)
Snaps a point to the generated elevation profile.