Click or drag to resize

QuantizedMeshTerrainTile Class

Represents an unpacked quantized-mesh terrain tile. See the quantized-mesh specification for more details on the format.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.TerrainQuantizedMeshTerrainTile

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public class QuantizedMeshTerrainTile

The QuantizedMeshTerrainTile type exposes the following members.

Properties
  NameDescription
Public propertyBoundingExtent
Gets the bounding extent of the mesh stored by this instance.
Public propertyCenter
Gets the center coordinates of the tile in the fixed frame of the central body. All vertex positions are relative to this.
Public propertyMaximumHeight
Gets the maximum height in the area covered by this tile. The maximum may be higher than the height of any vertex in this tile in the case that the max vertex was removed during mesh simplification, but these are the appropriate values to use for analysis or visualization.
Public propertyMinimumHeight
Gets the minimum height in the area covered by this tile. The minimum may be lower than the height of any vertex in this tile in the case that the min vertex was removed during mesh simplification, but these are the appropriate values to use for analysis or visualization.
Public propertyNumberOfTriangles
Gets the number of triangles.
Public propertyNumberOfVertices
Gets the number of vertices.
Public propertySize
Gets the approximate size of the terrain tile data, in bytes.
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHeight
Gets the height of the vertex in the tile with the given index. When this value is 0, the vertex's height is equal to the minimum height within the tile, as specified in the tile's header. When this value is 32767, the vertex's height is equal to the maximum height within the tile. For other values, the vertex's height is a linear interpolation between the minimum and maximum heights.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUValue
Gets the horizontal coordinate of the vertex in the tile with the given index. When this value is 0, the vertex is on the Western edge of the tile. When this value is 32767, the vertex is on the Eastern edge of the tile. For other values, the vertex's longitude is a linear interpolation between the longitudes of the Western and Eastern edges of the tile.
Public methodGetVertexIndex
Gets the vertex index for the given index, with three indices per triangle.
Public methodGetVValue
Gets the vertical coordinate of the vertex in the tile with the given index. When this value is 0, the vertex is on the Southern edge of the tile. When this value is 32767, the vertex is on the Northern edge of the tile. For other values, the vertex's latitude is a linear interpolation between the latitudes of the Southern and Northern edges of the tile.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberReadFromStream
Reads an uncompressed quantized-mesh terrain data from the given stream and creates a tile.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also