Click or drag to resize

TerrainPostsIntMinimumGetFourPostHeights Method

Gets the heights of four posts, specified by index.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public override void GetFourPostHeights(
	int west,
	int south,
	int east,
	int north,
	out double southWest,
	out double southEast,
	out double northEast,
	out double northWest
)

Parameters

west
Type: SystemInt32
The index of the two western posts. 0 refers to western-most post stored by this instance.
south
Type: SystemInt32
The index of the two southern posts. 0 refers to southern-most post stored by this instance.
east
Type: SystemInt32
The index of the two eastern posts. 0 refers to western-most post stored by this instance.
north
Type: SystemInt32
The index of the two northern posts. 0 refers to southern-most post stored by this instance.
southWest
Type: SystemDouble
On return, the height of the southwest post, in the native units of the terrain provider.
southEast
Type: SystemDouble
On return, the height of the southeast post, in the native units of the terrain provider.
northEast
Type: SystemDouble
On return, the height of the northeast post, in the native units of the terrain provider.
northWest
Type: SystemDouble
On return, the height of the northwest post, in the native units of the terrain provider.
Exceptions
ExceptionCondition
IndexOutOfRangeException Thrown when an index is outside the extent of this collection of posts.
See Also