I have an elevation map of a mountainous area (large 2d array with z values)
I want to know the height of the apparent horizon angle for all compass bearings for certain points on my height map.
To illustrate, this website has some examples of what I want.
Edit: I've stopped trying to find a function that does this and am now writing my own.
My approach is drawing lines from my point radially, interpolating the height along those lines and then taking max(z/r)
along each line.
If you know a function that already does this, please tell me, if not, hopefully I'll be able to upload one soon.