TerrainPostsLongitudeToIndex Method |
Gets the index of the post at or immediately to the west of the specified longitude.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public int LongitudeToIndex(
double longitude
)
Public Function LongitudeToIndex (
longitude As Double
) As Integer
public:
int LongitudeToIndex(
double longitude
)
member LongitudeToIndex :
longitude : float -> int
Parameters
- longitude
- Type: SystemDouble
The longitude in the native units of the terrain provider.
Return Value
Type:
Int32The index of the post at or immediately to the west of the specified longitude. 0 refers to the western-most post stored by this instance.
See Also