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
visibilityslopetoviewangle.h
1#pragma once
2#include "viewshed_export.h"
3
4#include <limits>
5
6#include "abstractviewshedalgorithm.h"
7
8namespace viewshed
9{
10 namespace visibilityalgorithm
11 {
12 class DLL_API LoSSlopeToViewAngle : public AbstractViewshedAlgorithm
13 {
14
15 public:
16 LoSSlopeToViewAngle( double invisible = -1, double pointValue = 0 );
17
18 double result( std::shared_ptr<LoSImportantValues> losValues, std::shared_ptr<AbstractLoS> los ) override;
19
20 double pointValue() override { return mPointValue; };
21
22 const std::string name() override;
23
24 private:
25 double mInvisibile;
26 double mPointValue;
27 };
28 } // namespace visibilityalgorithm
29} // namespace viewshed
Base class for all Viewshed Algorithms.
Definition abstractviewshedalgorithm.h:19
double result(std::shared_ptr< LoSImportantValues > losValues, std::shared_ptr< AbstractLoS > los) override
Extract resulting value based on LoSImportantValues and specific los.
Definition slopetoviewangle.cpp:12
double pointValue() override
Value at important point, either view point for viewshed or target point for inverse viewshed.
Definition visibilityslopetoviewangle.h:20
double pointValue() override
Value at important point, either view point for viewshed or target point for inverse viewshed.
Definition visibilityslopetoviewangle.h:20