public class QuantizedMeshTerrainTile extends Object
| Modifier and Type | Method and Description | 
|---|---|
CartographicExtent | 
getBoundingExtent()
Gets the bounding extent of the mesh stored by this instance. 
 | 
Cartesian | 
getCenter()
Gets the center coordinates of the tile in the fixed frame of the central body. 
 | 
short | 
getHeight(long index)
Gets the height of the vertex in the tile with the given index. 
 | 
float | 
getMaximumHeight()
Gets the maximum height in the area covered by this tile. 
 | 
float | 
getMinimumHeight()
Gets the minimum height in the area covered by this tile. 
 | 
int | 
getNumberOfTriangles()
Gets the number of triangles. 
 | 
int | 
getNumberOfVertices()
Gets the number of vertices. 
 | 
long | 
getSize()
Gets the approximate size of the terrain tile data, in bytes. 
 | 
short | 
getUValue(long index)
Gets the horizontal coordinate of the vertex in the tile with the given index. 
 | 
long | 
getVertexIndex(int index)
Gets the vertex index for the given index, with three indices per triangle. 
 | 
short | 
getVValue(long index)
Gets the vertical coordinate of the vertex in the tile with the given index. 
 | 
static QuantizedMeshTerrainTile | 
readFromStream(CartographicExtent boundingExtent,
              InputStream stream)
Reads an uncompressed quantized-mesh terrain data from the given stream and creates a tile. 
 | 
@Nonnull public static QuantizedMeshTerrainTile readFromStream(@Nonnull CartographicExtent boundingExtent, @Nonnull InputStream stream)
boundingExtent - The extent that this instance covers.stream - A InputStream containing uncompressed tile data.QuantizedMeshTerrainTile parsed from the data.ArgumentNullException - Thrown if boundingExtent or stream is null.public final long getSize()
@Nonnull public final CartographicExtent getBoundingExtent()
@Nonnull public final Cartesian getCenter()
public final float getMinimumHeight()
public final float getMaximumHeight()
public final int getNumberOfVertices()
public final short getUValue(long index)
index - The index of the vertex.public final short getVValue(long index)
index - The index of the vertex.public final short getHeight(long index)
index - The index of the vertex.public final int getNumberOfTriangles()
public final long getVertexIndex(int index)
index - The index.