tmm_position_valid()

Note: Requires Terrain Modeling Module functionality

Abstract

Determines if a geographic position is valid.

Syntax

tmm_position_valid (position)
Argument Type Description
position TmmT_Position The position of interest (latitude, longitude, and meters above sea level).

Return Value

int

OPC_TRUE if the position is valid; OPC_FALSE otherwise.

tmm.h

Details

None.

Purpose

Provides a way to determine if a position is valid. To be valid, the latitude of the position must be between –90 and 90 (inclusive) and the longitude must be between –180 and 180 (inclusive).

Errors

  • None.

Reference

  • None.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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