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
viewshed::CellEvent Class Reference

Class representing cell events for Van Kreveld's plane sweep algorithm. Stores cell position (row and column), type of event (Enter, Center, Exit), elevation of all three points associated with given cell, distance from important point (viewpoint or target point), horizontal angle from important point. More...

#include <cellevent.h>

Inheritance diagram for viewshed::CellEvent:
Collaboration diagram for viewshed::CellEvent:

Public Member Functions

 CellEvent (CellEventPositionType eventType, int row, int col, double dist, double angle, double elevation[3])
bool operator< (const CellEvent &other) const
bool operator== (const CellEvent &other) const

Public Attributes

CellEventPositionType mEventType
CELL_EVENT_DATA_TYPE mDist2point
CELL_EVENT_DATA_TYPE mAngle
CELL_EVENT_DATA_TYPE mElevation [3]
bool mBehindTargetForInverseLoS = false
Public Attributes inherited from viewshed::RasterPosition
int mRow = -1
int mCol = -1

Detailed Description

Class representing cell events for Van Kreveld's plane sweep algorithm. Stores cell position (row and column), type of event (Enter, Center, Exit), elevation of all three points associated with given cell, distance from important point (viewpoint or target point), horizontal angle from important point.


The documentation for this class was generated from the following files: