public class AGIWorldTerrain extends RasterTerrainProvider
| Constructor and Description |
|---|
AGIWorldTerrain(FileStreamFactory fileStreamFactory)
Initializes a new instance using specified
FileStreamFactory. |
AGIWorldTerrain(FileStreamFactory fileStreamFactory,
TerrainCacheGroup cacheGroup)
Initializes a new instance using specified
FileStreamFactory and
TerrainCacheGroup. |
AGIWorldTerrain(String fileName)
Initializes a new instance using the specified filename.
|
AGIWorldTerrain(String fileName,
TerrainCacheGroup cacheGroup)
Initializes a new instance using 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.
|
protected void |
processCoordinates(double[] longitude,
double[] latitude)
Performs any additional processing of coordinate values prior to using them to load sets
of posts or for interpolating heights.
|
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, 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 AGIWorldTerrain(@Nonnull String fileName)
fileName - The full path and filename of HDR fileIllegalStateException - Thrown when the Earth (get) instance in the CalculationContext is not configured with a mean sea level (MSL).ArgumentNullException - Thrown when fileName is null.public AGIWorldTerrain(@Nonnull String fileName, @Nonnull TerrainCacheGroup cacheGroup)
fileName - The full path and filename of the header filecacheGroup - The cache group with which to associate this terrain provider.IllegalStateException - Thrown when the Earth (get) instance in the CalculationContext is not configured with a mean sea level (MSL).ArgumentNullException - Thrown when fileName or cacheGroup is null.public AGIWorldTerrain(@Nonnull FileStreamFactory fileStreamFactory)
FileStreamFactory.fileStreamFactory - The factory to use to create streams to read the terrain data.IllegalStateException - Thrown when the Earth (get) instance in the CalculationContext is not configured with a mean sea level (MSL).ArgumentNullException - Thrown when fileStreamFactory is null.public AGIWorldTerrain(@Nonnull FileStreamFactory fileStreamFactory, @Nonnull TerrainCacheGroup cacheGroup)
FileStreamFactory and
TerrainCacheGroup.fileStreamFactory - The factory to use to create streams to read the terrain
data.cacheGroup - The cache group with which to associate this terrain provider.IllegalStateException - Thrown when the Earth (get) instance in the CalculationContext is not configured with a mean sea level (MSL).ArgumentNullException - Thrown when fileStreamFactory or cacheGroup is null.protected void processCoordinates(@Nonnull double[] longitude, @Nonnull double[] latitude)
RasterTerrainProvider.NeedsSpecialCoordinateProcessing is
true.processCoordinates in class RasterTerrainProviderlongitude - The longitude in the native units of the terrain provider.latitude - The latitude in the native units of the terrain provider.public TerrainPosts getPosts(@Nonnull RasterTerrainIndexExtent extent)
getPosts in class RasterTerrainProviderextent - The extent of the posts to read.