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 Struct Reference

Representation of important values and LoSNode indexes that can be extracted from LoS and are important for Visibility Algorithms. More...

#include <losimportantvalues.h>

Public Member Functions

 LoSImportantValues ()
 Construct a new Lo S Important Values object.
void reset ()
bool horizonBeforeExist ()
 Is there a horizon between view point and target point?
bool horizonExist ()
 Is there a horizon on the LoS?
bool isTargetHorizon ()
 Is the target point a horizon?
bool isTargetGlobalHorizon ()
 Is Target Point global horizon?

Public Attributes

double maxGradientBefore = -180
double maxGradient = -180
int indexMaxGradientBefore = -1
int indexMaxGradient = -1
int indexHorizonBefore = -1
int indexHorizon = -1
int countHorizonBefore = 0
int countHorizon = 0
bool targetHorizon = false
int targetIndex = -1

Detailed Description

Representation of important values and LoSNode indexes that can be extracted from LoS and are important for Visibility Algorithms.

Member Function Documentation

◆ horizonBeforeExist()

Is there a horizon between view point and target point?

Returns
true
false

◆ horizonExist()

Is there a horizon on the LoS?

Returns
true
false

◆ isTargetGlobalHorizon()

Is Target Point global horizon?

Returns
true
false

◆ isTargetHorizon()

Is the target point a horizon?

Returns
true
false

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