WISA.wisa3D.module
Class DEMFile

java.lang.Object
  |
  +--java.io.File
        |
        +--WISA.wisa3D.module.DEMFile
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class DEMFile
extends java.io.File

Überschrift: Wisa3D Beschreibung: Copyright: Copyright (c) 1999 Organisation: IAI-FZK

See Also:
Serialized Form

Field Summary
protected  int NCOLS
          Number of columns in the file.
protected  int NODATA
          Value used for masking purposes.
protected  int NROWS
          Number of rows in the file.
protected  double ULXMAP
          Longitude of the center of the upper-left pixel (decimal degrees).
protected  double ULYMAP
          Latitude of the center of the upper-left pixel (decimal degrees).
protected  double XDIM
          X dimension of a pixel in geographic units (decimal degrees).
protected  double YDIM
          Y dimension of a pixel in geographic units (decimal degrees).
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
DEMFile(java.io.File parent, java.lang.String child)
           
DEMFile(java.lang.String pathname)
           
DEMFile(java.lang.String parent, java.lang.String child)
           
 
Method Summary
 java.awt.geom.Rectangle2D.Double getArea()
           
 void readHeader()
          Reads the informations of the .HDR file in this DEMFiel object.
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NROWS

protected int NROWS
Number of rows in the file.


NCOLS

protected int NCOLS
Number of columns in the file.


NODATA

protected int NODATA
Value used for masking purposes.


ULXMAP

protected double ULXMAP
Longitude of the center of the upper-left pixel (decimal degrees).


ULYMAP

protected double ULYMAP
Latitude of the center of the upper-left pixel (decimal degrees).


XDIM

protected double XDIM
X dimension of a pixel in geographic units (decimal degrees).


YDIM

protected double YDIM
Y dimension of a pixel in geographic units (decimal degrees).

Constructor Detail

DEMFile

public DEMFile(java.io.File parent,
               java.lang.String child)

DEMFile

public DEMFile(java.lang.String pathname)

DEMFile

public DEMFile(java.lang.String parent,
               java.lang.String child)
Method Detail

readHeader

public void readHeader()
                throws java.io.IOException
Reads the informations of the .HDR file in this DEMFiel object.

java.io.IOException

getArea

public java.awt.geom.Rectangle2D.Double getArea()