Need to Understand Treatment of Elevation in los2

5 次查看(过去 30 天)
I want to use los2 to determine the terrain slope between 2 points. However, the data I have been given needs be treated like minecraft blocks.
For Example:
Every box is 10m x10m Hm, where Hm is the height/elevation in meters, such that we could say:
The center box has a contiguous height of 2000m at all four corners, the box to the east is 1980m at all four corners, the box to west is 1960m, the box to the south is 1990m and the box to the north is also 1990m, and so on.
My question is does los2 treat this data as an existing slope (aka kinda like google maps), or like a 3D pixel (minecraft) box, as described above?
If not, is there a way or function in MATLAB to get the dist and H outputs that los2 provides, given the type/treatment of data above?
I also hope this question proves useful to any others who are looking to evaluate terrain this way.

采纳的回答

Rob Comer
Rob Comer 2022-4-12
编辑:Rob Comer 2022-4-12
LOS2 interpolates values along a profile between the specified points, then calculates visibility using that profile. So no, it does not treat the input cells like Minecraft blocks. I'm unaware of any function that does a line-of-sight calculation that way.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mapping Toolbox 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by