public class NgaDigitalTerrainElevationDataCell extends RasterTerrainProvider
| Constructor and Description | 
|---|
NgaDigitalTerrainElevationDataCell(StreamFactory streamFactory)
Initializes a new instance with the specified stream factory. 
 | 
NgaDigitalTerrainElevationDataCell(StreamFactory streamFactory,
                                  TerrainCacheGroup cacheGroup)
Initializes a new instance with the specified stream factory. 
 | 
NgaDigitalTerrainElevationDataCell(String fileName)
Initializes a new instance using the specified filename. 
 | 
NgaDigitalTerrainElevationDataCell(String fileName,
                                  TerrainCacheGroup cacheGroup)
Initializes a new instance using the specified filename. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
TerrainPosts | 
getPosts(RasterTerrainIndexExtent extent)
Gets the posts over a specified area by reading them from the terrain data source. 
 | 
cartographicExtentToIndexExtent, getCache, getDefaultInterpolator, getDeltaLatitude, getDeltaLatitudeNativeUnits, getDeltaLongitude, getDeltaLongitudeNativeUnits, getEasternPostOffsetNativeUnits, getFirstPartials, getFirstPartials, getHeight, getHeight, getHeightNativeUnits, getHeightNativeUnits, getHeightRelativeToShape, getLatitudePosts, getLongitudePosts, getMinimumSampleSpacing, getNeedsSpecialCoordinateProcessing, getNorthernPostOffsetNativeUnits, getSecondPartials, getSecondPartials, getSouthernPostOffsetNativeUnits, getWesternPostOffsetNativeUnits, indexToLatitude, indexToLongitude, latitudeToIndex, longitudeToIndex, preloadExtent, processCoordinates, setDefaultInterpolator, setDeltaLatitude, setDeltaLatitudeNativeUnits, setDeltaLongitude, setDeltaLongitudeNativeUnits, setEasternPostOffsetNativeUnits, setLatitudePosts, setLongitudePosts, setNeedsSpecialCoordinateProcessing, setNorthernPostOffsetNativeUnits, setSouthernPostOffsetNativeUnits, setWesternPostOffsetNativeUnits, unloadExtentgetBoundingExtent, getBoundingExtentNativeUnits, getGradient, getHeightReference, getHeightRelativeToShape, getHessian, getLocalMinimumSampleSpacing, getNativeToMeters, getNormal, getRadiansToNative, getReferenceSurface, getShape, getShapeFixedFrame, inGlobalBounds, setBoundingExtent, setBoundingExtentNativeUnits, setHeightReference, setNativeToMeters, setRadiansToNative, setReferenceSurface, setShape, setShapeFixedFramepublic NgaDigitalTerrainElevationDataCell(@Nonnull String fileName)
fileName - The full path and filename of the DT0, DT1, or DT2 file.IllegalStateException - Thrown when the Earth (get) instance in the current 
    CalculationContext is not configured with a mean sea level (MSL).InvalidDataException - Thrown when the User Header Label at the start of the DTED cell does not have 
    the expected format.ArgumentNullException - Thrown when fileName is null.public NgaDigitalTerrainElevationDataCell(@Nonnull String fileName, @Nonnull TerrainCacheGroup cacheGroup)
fileName - The full path and filename of the DT0, DT1, or DT2 file.cacheGroup - The cache group with which to associate this terrain provider.IllegalStateException - Thrown when the Earth (get) instance in the current 
    CalculationContext is not configured with a mean sea level (MSL).InvalidDataException - Thrown when the User Header Label at the start of the DTED cell does not have 
    the expected format.ArgumentNullException - Thrown when fileName or cacheGroup is null.public NgaDigitalTerrainElevationDataCell(@Nonnull StreamFactory streamFactory)
    The streams created by streamFactory must support seeking.
    
    This means that the streams must implement
    ISeekableStream or 
    FileInputStream.
streamFactory - The factory to use to create streams to read the DT0, DT1, or DT2 file.IllegalStateException - Thrown when the Earth (get) instance in the current 
    CalculationContext is not configured with a mean sea level (MSL).InvalidDataException - Thrown when the InputStream created from the streamFactory
    ends unexpectedly before the required terrain data could be read.InvalidDataException - Thrown when the User Header Label at the start of the DTED cell does not have 
    the expected format.ArgumentNullException - Thrown when streamFactory is null.public NgaDigitalTerrainElevationDataCell(@Nonnull StreamFactory streamFactory, @Nonnull TerrainCacheGroup cacheGroup)
    The streams created by streamFactory must support seeking.
    
    This means that the streams must implement
    ISeekableStream or 
    FileInputStream.
streamFactory - The factory to use to create streams to read the DT0, DT1, or DT2 file.cacheGroup - The cache group with which to associate this terrain provider.IllegalStateException - Thrown when the Earth (get) instance in the current 
    CalculationContext is not configured with a mean sea level (MSL).InvalidDataException - Thrown when the InputStream created from the streamFactory
    ends unexpectedly before the required terrain data could be read.InvalidDataException - Thrown when the User Header Label at the start of the DTED cell does not have 
    the expected format.ArgumentNullException - Thrown when streamFactory or cacheGroup is null.public TerrainPosts getPosts(@Nonnull RasterTerrainIndexExtent extent)
getPosts in class RasterTerrainProviderextent - The extent of the posts to read.InvalidDataException - Thrown when the stream ends unexpectedly before the required terrain data
    can be read.