jwo.landserf.structure
Class RastHeader

java.lang.Object
  extended byjwo.landserf.structure.RastHeader
All Implemented Interfaces:
Serializable

Deprecated. Should use Header and RasterMap. This class is only maintained to allow deserialization of rasters saved in pre 2.0 format.

public class RastHeader
extends Object
implements Serializable

Stores raster header information for older versions of LandSerf files. This cut down version (in comparison with version 1.8 and below) is maintained for backward compatibility only. It contains just the accessor methods required to reconstruct a new header.

Version:
2.2, 8th September, 2002.
Author:
Jo Wood
See Also:
Serialized Form

Constructor Summary
RastHeader()
          Deprecated.  
 
Method Summary
 double getAzimAngle()
          Deprecated. Reports the sun azimuth angle for shaded relief.
 double getEast()
          Deprecated. Reports the eastern boundary of the raster.
 double getElevAngle()
          Deprecated. Reports the sun elevation angle for shaded relief.
 double getMinShadeSlope()
          Deprecated. Returns the minimum slope that will be represented in shaded relief.
 double getNorth()
          Deprecated. Reports the northern boundary of the raster.
 String getNotes()
          Deprecated. Reports the notes associated with the raster.
 int getNumCols()
          Deprecated. Reports the number of columns in the raster.
 int getNumRows()
          Deprecated. Reports the number of rows in the raster.
 double getpShade()
          Deprecated. Reports the proportion of shaded relief assocaited with raster visualisation.
 double getSouth()
          Deprecated. Reports the southern boundary of the raster.
 String getTitle()
          Deprecated. Reports the title of the raster.
 int getType()
          Deprecated. Reports the type of raster stored.
 double getWest()
          Deprecated. Reports the western boundary of the raster.
 double getXRes()
          Deprecated. Reports the x-resolution of the raster.
 double getYRes()
          Deprecated. Reports the y-resolution of the raster.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RastHeader

public RastHeader()
Deprecated. 
Method Detail

getTitle

public String getTitle()
Deprecated. 
Reports the title of the raster.

Returns:
Title of raster.

getNotes

public String getNotes()
Deprecated. 
Reports the notes associated with the raster.

Returns:
Notes associated with raster.

getNorth

public double getNorth()
Deprecated. 
Reports the northern boundary of the raster.

Returns:
Northern boundary of raster.

getSouth

public double getSouth()
Deprecated. 
Reports the southern boundary of the raster.

Returns:
Southern boundary of raster.

getEast

public double getEast()
Deprecated. 
Reports the eastern boundary of the raster.

Returns:
Eastern boundary of raster.

getWest

public double getWest()
Deprecated. 
Reports the western boundary of the raster.

Returns:
Western boundary of raster.

getNumRows

public int getNumRows()
Deprecated. 
Reports the number of rows in the raster.

Returns:
Number of rows in raster.

getNumCols

public int getNumCols()
Deprecated. 
Reports the number of columns in the raster.

Returns:
Number of columns in raster.

getXRes

public double getXRes()
Deprecated. 
Reports the x-resolution of the raster.

Returns:
X-resolution of raster.

getYRes

public double getYRes()
Deprecated. 
Reports the y-resolution of the raster.

Returns:
Y-resolution of raster.

getElevAngle

public double getElevAngle()
Deprecated. 
Reports the sun elevation angle for shaded relief.

Returns:
Sun elevation angle.

getAzimAngle

public double getAzimAngle()
Deprecated. 
Reports the sun azimuth angle for shaded relief.

Returns:
Sun azimuth angle.

getpShade

public double getpShade()
Deprecated. 
Reports the proportion of shaded relief assocaited with raster visualisation.

Returns:
Proportion of shaded relief.

getMinShadeSlope

public double getMinShadeSlope()
Deprecated. 
Returns the minimum slope that will be represented in shaded relief.

Returns:
Minimum slope in radians.

getType

public int getType()
Deprecated. 
Reports the type of raster stored.

Returns:
Raster type.


Copyright Jo Wood, 1996-2005, last modified, 11th March, 2005