Click or drag to resize

TerrainPostsIntMinimum Class

A collection of posts from a RasterTerrainProvider where each post is stored as either an Int16 or an Int32. The smallest data type that can represent the post data is chosen.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.TerrainTerrainPosts
    AGI.Foundation.TerrainTerrainPostsIntMinimum

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public class TerrainPostsIntMinimum : TerrainPosts

The TerrainPostsIntMinimum type exposes the following members.

Constructors
  NameDescription
Public methodTerrainPostsIntMinimum
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyBoundingExtent
Gets the bounding extent of the posts stored by this instance.
(Inherited from TerrainPosts.)
Public propertyIndexExtent
Gets the extent of indices of this instance in the overall terrain provider.
(Inherited from TerrainPosts.)
Public propertyItem
Gets or sets the post height at a particular set of indices.
Public propertySize
Gets the size of the post data, in bytes.
(Overrides TerrainPostsSize.)
Public propertyTerrainProvider
Gets the terrain provider that provided this collection of posts.
(Inherited from TerrainPosts.)
Public propertyVoidValue
Gets the integer value that indicates a void (or post with unknown height).
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFourPostHeights
Gets the heights of four posts, specified by index.
(Overrides TerrainPostsGetFourPostHeights(Int32, Int32, Int32, Int32, Double, Double, Double, Double).)
Public methodGetFourSurroundingPosts
Gets the indices of the four posts surrounding a given longitude and latitude point.
(Inherited from TerrainPosts.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPostHeight
Gets the height at a post.
(Overrides TerrainPostsGetPostHeight(Int32, Int32).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexToLatitude
Gets the latitude of the post at a specified index.
(Inherited from TerrainPosts.)
Public methodIndexToLongitude
Gets the longitude of the post at a specified index.
(Inherited from TerrainPosts.)
Public methodLatitudeToIndex
Gets the index of the post at or immediately to the south of the specified latitude.
(Inherited from TerrainPosts.)
Public methodLongitudeToIndex
Gets the index of the post at or immediately to the west of the specified longitude.
(Inherited from TerrainPosts.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
This class is helpful for use with terrain providers where the possible range of heights is substantially larger than the common range of heights. For example, the UsgsDigitalElevationModel terrain format specifies that heights are 32-bit integers. However, for all practical purposes, the heights don't exceed the bounds of a 16-bit integer. Using this type to store the posts for the UsgsDigitalElevationModel terrain provider allows us to get the space and performance advantages of storing posts as 16-bit integers, while still supporting the rare terrain file that actually requires 32-bit integers.
See Also