Encapsulates a point on a distance-elevation profile.
More...
#include <qgsprofilepoint.h>
Encapsulates a point on a distance-elevation profile.
- Since
- QGIS 3.26
Definition at line 30 of file qgsprofilepoint.h.
◆ QgsProfilePoint() [1/2]
QgsProfilePoint::QgsProfilePoint |
( |
| ) |
|
|
default |
Constructor for an empty point.
◆ QgsProfilePoint() [2/2]
QgsProfilePoint::QgsProfilePoint |
( |
double |
distance, |
|
|
double |
elevation |
|
) |
| |
|
inline |
Create a point at the specified distance and elevation coordinates.
Definition at line 42 of file qgsprofilepoint.h.
◆ distance()
double QgsProfilePoint::distance |
( |
| ) |
const |
|
inline |
◆ elevation()
double QgsProfilePoint::elevation |
( |
| ) |
const |
|
inline |
◆ isEmpty()
bool QgsProfilePoint::isEmpty |
( |
| ) |
const |
|
inline |
Returns true
if the point is empty.
A QgsProfilePoint is considered empty when the coordinates have not been explicitly filled in.
Definition at line 95 of file qgsprofilepoint.h.
◆ operator!=()
◆ operator==()
◆ setDistance()
void QgsProfilePoint::setDistance |
( |
double |
distance | ) |
|
|
inline |
◆ setElevation()
void QgsProfilePoint::setElevation |
( |
double |
elevation | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /build/qgis-3.41.0+git20241119+45a0abf3bec+99sid/src/core/elevation/qgsprofilepoint.h