Encapsulates the context in which an elevation profile is to be generated.
More...
#include <qgsabstractprofilegenerator.h>
Encapsulates the context in which an elevation profile is to be generated.
- Since
- QGIS 3.26
Definition at line 262 of file qgsabstractprofilegenerator.h.
◆ convertDistanceToPixels()
◆ distanceRange()
Returns the range of distances to include in the generation.
Distances outside this range may be excluded from the generation (if it results in faster profile generation).
- See also
- setDistanceRange()
Definition at line 307 of file qgsabstractprofilegenerator.h.
◆ dpi()
double QgsProfileGenerationContext::dpi |
( |
| ) |
const |
|
inline |
◆ elevationRange()
Returns the range of elevations to include in the generation.
Elevations outside this range may be excluded from the generation (if it results in faster profile generation).
- See also
- setElevationRange()
Definition at line 325 of file qgsabstractprofilegenerator.h.
◆ mapUnitsPerDistancePixel()
double QgsProfileGenerationContext::mapUnitsPerDistancePixel |
( |
| ) |
const |
|
inline |
◆ maximumErrorMapUnits()
double QgsProfileGenerationContext::maximumErrorMapUnits |
( |
| ) |
const |
|
inline |
Returns the maximum allowed error in the generated result, in profile curve map units.
By default this is NaN, which indicates that the profile should be generated in the highest precision possible. Larger values will result in a faster profile to generate.
- See also
- setMaximumErrorMapUnits()
Definition at line 274 of file qgsabstractprofilegenerator.h.
◆ operator!=()
◆ operator==()
◆ setDistanceRange()
void QgsProfileGenerationContext::setDistanceRange |
( |
const QgsDoubleRange & |
range | ) |
|
|
inline |
Sets the range of distances to include in the generation.
Distances outside this range may be excluded from the generation (if it results in faster profile generation).
- See also
- distanceRange()
Definition at line 316 of file qgsabstractprofilegenerator.h.
◆ setDpi()
void QgsProfileGenerationContext::setDpi |
( |
double |
dpi | ) |
|
|
inline |
◆ setElevationRange()
void QgsProfileGenerationContext::setElevationRange |
( |
const QgsDoubleRange & |
range | ) |
|
|
inline |
Sets the range of elevations to include in the generation.
Elevations outside this range may be excluded from the generation (if it results in faster profile generation).
- See also
- elevationRange()
Definition at line 334 of file qgsabstractprofilegenerator.h.
◆ setMapUnitsPerDistancePixel()
void QgsProfileGenerationContext::setMapUnitsPerDistancePixel |
( |
double |
units | ) |
|
|
inline |
◆ setMaximumErrorMapUnits()
void QgsProfileGenerationContext::setMaximumErrorMapUnits |
( |
double |
error | ) |
|
|
inline |
Sets the maximum allowed error in the generated result, in profile curve map units.
By default this is NaN, which indicates that the profile should be generated in the highest precision possible. Larger values will result in a faster profile to generate.
- See also
- maximumErrorMapUnits()
Definition at line 284 of file qgsabstractprofilegenerator.h.
The documentation for this class was generated from the following files: