QuantizedMeshTerrainTile Class |
Namespace: AGI.Foundation.Terrain
The QuantizedMeshTerrainTile type exposes the following members.
Name | Description | |
---|---|---|
BoundingExtent |
Gets the bounding extent of the mesh stored by this instance.
| |
Center |
Gets the center coordinates of the tile in the fixed frame of the central body.
All vertex positions are relative to this.
| |
MaximumHeight |
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.
| |
MinimumHeight |
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.
| |
NumberOfTriangles |
Gets the number of triangles.
| |
NumberOfVertices |
Gets the number of vertices.
| |
Size |
Gets the approximate size of the terrain tile data, in bytes.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHeight |
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.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUValue |
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.
| |
GetVertexIndex |
Gets the vertex index for the given index, with three indices per triangle.
| |
GetVValue |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadFromStream |
Reads an uncompressed quantized-mesh terrain data from the given stream and creates a tile.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |