Click or drag to resize

TerrainPostsGetFourSurroundingPosts Method

Gets the indices of the four posts surrounding a given longitude and latitude point.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public void GetFourSurroundingPosts(
	double longitude,
	double latitude,
	out int west,
	out int south,
	out int east,
	out int north
)

Parameters

longitude
Type: SystemDouble
The longitude, in the native units of the terrain provider.
latitude
Type: SystemDouble
The latitude, in the native units of the terrain provider.
west
Type: SystemInt32
On return, the index of the posts to the west of the point. 0 refers to the western-most post stored by this instance.
south
Type: SystemInt32
On return, the index of the posts to the south of the point. 0 refers to the southern-most post stored by this instance.
east
Type: SystemInt32
On return, the index of the posts to the east of the point. 0 refers to the western-most post stored by this instance.
north
Type: SystemInt32
On return, the index of the posts to the north of the point. 0 refers to the southern-most post stored by this instance.
See Also