TmmT_Terrain_Reader_Elevation_Proc

Note: Requires Terrain Modeling Module functionality

Abstract

Callback: Called to obtain the elevation of a given location.

Syntax

<terrain_reader_elevation_proc_name> (terrain_source, latitude, longitude)
Argument Type Description
terrain_source struct TmmT_Terrain_Source * Terrain source of interest (see TmmT_Terrain_Reader_Load_Proc for details)
latitude double Latitude of location
longitude double Longitude of location

Return Value

double

Elevation for the specified latitude and longitude or one of the symbolic constants listed in Details.

tmm.h

Details

This callback should read the terrain source data file and return either the elevation at the specified location or one of these symbolic constants:

  • TMMC_ELEV_DATA_MISSING—the data source does not have an elevation for that location
  • TMMC_ELEV_UNKNOWN—an error occurred

Purpose

Callback used to obtain the elevation of a given location.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com