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
constants.h
1#pragma once
2#include <numbers>
3
4namespace viewshed
5{
6 const double REFRACTION_COEFFICIENT{ 0.142860 };
7 const double EARTH_DIAMETER{ 12740000 };
8 const double OBSERVER_OFFSET{ 1.6 };
9 const double DEG_TO_RAD{ std::numbers::pi / 180.0 };
10 const double RAD_TO_DEG{ 180.0 / std::numbers::pi };
11} // namespace viewshed