56 float slope(
const float x,
const float y);
58 float orientation(
const QPointF &point,
float &rslope_angle,
float &rslope_aspect)
const;
59 float orientation(
const float x,
const float y,
float &rslope_angle,
float &rslope_aspect)
60 {
return orientation(QPointF(x,y), rslope_angle, rslope_aspect); }
DEM is a digital elevation model class.
Definition: dem.h:40
float slope(const float x, const float y)
const FloatGrid * viewGrid() const
Definition: dem.h:48
float orientation(const QPointF &point, float &rslope_angle, float &rslope_aspect) const
get orientation at specific point (x,y) and height
Definition: dem.cpp:127
float elevation(const QPointF p) const
Definition: dem.h:52
DEM(const QString &fileName)
Definition: dem.h:42
const FloatGrid * aspectGrid() const
Definition: dem.h:46
bool loadFromFile(const QString &fileName)
loads a DEM from a ESRI style text file.
Definition: dem.cpp:52
const FloatGrid * slopeGrid() const
Definition: dem.h:47
float elevation(const float x, const float y) const
get the elevation (m) at point (x/y)
Definition: dem.h:51
void createSlopeGrid() const
Definition: dem.cpp:162
float direction(const float x, const float y)
get the direction of the slope at point (x/y) if the slope at the point is 0, "north" (0) is returned...
float orientation(const float x, const float y, float &rslope_angle, float &rslope_aspect)
Definition: dem.h:59
const float & constValueAt(const QPointF &posf) const
value at position defined by metric coordinates (QPointF)
Definition: grid.h:337