2#include "viewshed_export.h"
7#include "rasterposition.h"
18 class DLL_API
LoSNode :
public RasterPosition
24 bool mInverseLoSBehindTarget =
false;
50 LoSNode(
const int &pointRow,
const int &pointCol,
const CellEvent *e,
const double &cellSize );
52 bool operator==(
const LoSNode &other )
const;
53 bool operator!=(
const LoSNode &other )
const;
54 bool operator<(
const LoSNode other )
const;
63 double valueAtAngle(
const double &angle, ValueType valueType = ValueType::Elevation )
const;
72 double value( CellEventPositionType position, ValueType valueType = ValueType::Elevation )
const;
95 double elevationAtAngle(
const double &angle )
const;
97 double distanceAtAngle(
const double &angle )
const;
Class representing cell events for Van Kreveld's plane sweep algorithm. Stores cell position (row and...
Definition cellevent.h:17
double centreElevation() const
Shortcut call to obtain elevation angle at center of raster cell that this LoSNode represents.
Definition losnode.cpp:136
double centreAngle() const
Shortcut call to obtain horizontal angle at center of raster cell that this LoSNode represents.
Definition losnode.cpp:134
double valueAtAngle(const double &angle, ValueType valueType=ValueType::Elevation) const
Extract value of ValueType at specified angle.
Definition losnode.cpp:94
double centreDistance() const
Shortcut call to obtain distance angle at center of raster cell that this LoSNode represents.
Definition losnode.cpp:138
LoSNode()
Construct a new empty LoSNode object.
Definition losnode.cpp:15
double value(CellEventPositionType position, ValueType valueType=ValueType::Elevation) const
Extract value of ValueType at specific cell event position.
Definition losnode.cpp:71
Class representing cell events for Van Kreveld's plane sweep algorithm. Stores cell position (row and...
Definition cellevent.h:17
Class that represents important point for viewshed - view point, or inverse viewshed - target point....
Definition point.h:21