|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.d.umn.fileformats.ElevationFile
public abstract class ElevationFile
ElevationFile is an abstract base class used to define the interface between files holding terrain data and the JAVA3D classes that convert the terrain data into geometric primitives.
Field Summary | |
---|---|
int[][] |
elevations
two dimensional array of elevation data in meters, array represents equally spaced data points across the groundCoordinates. |
java.lang.String |
fileName
data file name |
java.lang.String |
filePath
Path to the file, not including the file name. |
GroundCoordinates |
groundCoordinates
holds ground coordinates of the 4 corners in arc seconds |
int |
maxElevation
maximum elevation in meters |
int |
minElevation
minimum elevation in meters |
int |
nColumns
number of data columns |
int |
nRows
number of data rows |
java.lang.String |
quadrangleName
geographic name or title of the data |
protected float |
resolution
The overall resolution of the file. |
Constructor Summary | |
---|---|
ElevationFile()
Does nothing. |
Method Summary | |
---|---|
float |
getResolution()
Accessor for the resolution field of the ElevationFile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String filePath
public java.lang.String fileName
public java.lang.String quadrangleName
public int minElevation
public int maxElevation
public int[][] elevations
public int nRows
public int nColumns
public GroundCoordinates groundCoordinates
protected float resolution
Constructor Detail |
---|
public ElevationFile()
Method Detail |
---|
public float getResolution()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |