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
losimportantvalues.h
1#pragma once
2#include "viewshed_export.h"
3
4namespace viewshed
5{
11 struct DLL_API LoSImportantValues
12 {
18
19 void reset();
20
21 double maxGradientBefore = -180;
22 double maxGradient = -180;
23 int indexMaxGradientBefore = -1;
24 int indexMaxGradient = -1;
25 int indexHorizonBefore = -1;
26 int indexHorizon = -1;
27 int countHorizonBefore = 0;
28 int countHorizon = 0;
29 bool targetHorizon = false;
30 int targetIndex = -1;
31
38 bool horizonBeforeExist();
39
46 bool horizonExist();
47
54 bool isTargetHorizon();
55
63 };
64} // namespace viewshed
bool horizonExist()
Is there a horizon on the LoS?
Definition losimportantvalues.cpp:22
bool horizonBeforeExist()
Is there a horizon between view point and target point?
Definition losimportantvalues.cpp:20
bool isTargetHorizon()
Is the target point a horizon?
Definition losimportantvalues.cpp:24
bool isTargetGlobalHorizon()
Is Target Point global horizon?
Definition losimportantvalues.cpp:26
LoSImportantValues()
Construct a new Lo S Important Values object.
Definition losimportantvalues.cpp:5