TerrainPostsUInt32GetPostHeight Method |
Gets the height at a post.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public override double GetPostHeight(
int longitudeIndex,
int latitudeIndex
)
Public Overrides Function GetPostHeight (
longitudeIndex As Integer,
latitudeIndex As Integer
) As Double
public:
virtual double GetPostHeight(
int longitudeIndex,
int latitudeIndex
) override
abstract GetPostHeight :
longitudeIndex : int *
latitudeIndex : int -> float
override GetPostHeight :
longitudeIndex : int *
latitudeIndex : int -> float
Parameters
- longitudeIndex
- Type: SystemInt32
The longitude index of the post. 0 refers to the western-most post stored by this instance. - latitudeIndex
- Type: SystemInt32
The latitude index of the post. 0 refers to the southern-most post stored by this instance.
Return Value
Type:
DoubleThe height of the post, in the native units of the terrain provider.
Exceptions Exception | Condition |
---|
IndexOutOfRangeException |
Thrown when longitudeIndex or latitudeIndex is outside the extent
of this collection of posts.
|
Remarks See Also