public class GTOPO30Terrain extends RasterTerrainProvider
| Constructor and Description |
|---|
GTOPO30Terrain(String fileName)
Initializes a new instance using the specified GTOPO30 HDR filename.
|
GTOPO30Terrain(String fileName,
TerrainCacheGroup cacheGroup)
Initializes a new instance using the specified GTOPO30 HDR filename and
TerrainCacheGroup. |
GTOPO30Terrain(String fileName,
TerrainCacheGroup cacheGroup,
GTOPO30Options options)
Initializes a new instance using the specified GTOPO30 HDR filename and
TerrainCacheGroup. |
| 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 GTOPO30Terrain(@Nonnull String fileName)
fileName - The full path and filename of the GTOPO30 HDR file.ArgumentNullException - Thrown when fileName is null.public GTOPO30Terrain(@Nonnull String fileName, @Nonnull TerrainCacheGroup cacheGroup)
TerrainCacheGroup.fileName - The full path and filename of the GTOPO30 HDR file.cacheGroup - The cache group with which to associate this terrain provider.ArgumentNullException - Thrown when fileName or cacheGroup is null.public GTOPO30Terrain(@Nonnull String fileName, @Nonnull TerrainCacheGroup cacheGroup, @Nonnull GTOPO30Options options)
TerrainCacheGroup.fileName - The full path and filename of the GTOPO30 HDR file.cacheGroup - The cache group with which to associate this terrain provider.options - Options controlling how the terrain data is loaded.ArgumentNullException - Thrown when fileName or cacheGroup is null.protected void processCoordinates(@Nonnull double[] longitude, @Nonnull double[] latitude)
NeedsSpecialCoordinateProcessing (get / set)
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.