Need to Understand Treatment of Elevation in los2

조회 수: 3 (최근 30일)
Sean Caldwell
Sean Caldwell 2022년 4월 5일
편집: Rob Comer 2022년 4월 12일
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