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.
Header
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.