Viewshed 6.1.0
A C++ library for calculation of viewshed, inverse viewshed and visibility indices for both of those analyses.
Loading...
Searching...
No Matches
cellevent.h
1#pragma once
2#include "viewshed_export.h"
3
4#include "defaultdatatypes.h"
5#include "enums.h"
6#include "rasterposition.h"
7
8namespace viewshed
9{
16 class DLL_API CellEvent : public RasterPosition
17 {
18 public:
19 CellEventPositionType mEventType;
20 CELL_EVENT_DATA_TYPE mDist2point;
21 CELL_EVENT_DATA_TYPE mAngle;
22 CELL_EVENT_DATA_TYPE mElevation[3];
23 bool mBehindTargetForInverseLoS = false;
24
25 CellEvent();
26
27 CellEvent( CellEventPositionType eventType, int row, int col, double dist, double angle, double elevation[3] );
28
29 bool operator<( const CellEvent &other ) const;
30 bool operator==( const CellEvent &other ) const;
31 };
32} // namespace viewshed