| 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: 25.1.421.0 (25.1.421.0)
 Syntax
Syntaxpublic void GetFourSurroundingPosts(
	double longitude,
	double latitude,
	out int west,
	out int south,
	out int east,
	out int north
)
Public Sub GetFourSurroundingPosts ( 
	longitude As Double,
	latitude As Double,
	<OutAttribute> ByRef west As Integer,
	<OutAttribute> ByRef south As Integer,
	<OutAttribute> ByRef east As Integer,
	<OutAttribute> ByRef north As Integer
)
public:
void GetFourSurroundingPosts(
	double longitude, 
	double latitude, 
	[OutAttribute] int% west, 
	[OutAttribute] int% south, 
	[OutAttribute] int% east, 
	[OutAttribute] int% north
)
member GetFourSurroundingPosts : 
        longitude : float * 
        latitude : float * 
        west : int byref * 
        south : int byref * 
        east : int byref * 
        north : int byref -> unit 
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
See Also