jwo.landserf.process
Interface Transformable

All Known Implementing Classes:
ObliqueMercator, RectifyBox, Swiss, TimeSpace, UTM

public interface Transformable

Indicates that the class can transform the location represented by a footprint.

Version:
2.2, 20th September 2003.
Author:
Jo Wood

Method Summary
 boolean doInterpolation()
          Should ndicate whether the transformation should use nearest neighbour (false) or some interpolator (true).
 String getDescription()
          Should provide a general description of the transformation.
 Footprint invTransformCoords(Footprint fpIn)
          Should perform an inverse transform of the location given by the footprint.
 Footprint transformCoords(Footprint fpIn)
          Should transform the location given by the footprint.
 

Method Detail

transformCoords

public Footprint transformCoords(Footprint fpIn)
Should transform the location given by the footprint.

Parameters:
fpIn - Incoming footprint to transform.
Returns:
Transformed footprint.

invTransformCoords

public Footprint invTransformCoords(Footprint fpIn)
Should perform an inverse transform of the location given by the footprint.

Parameters:
fpIn - Incoming footprint on which to perform the inverse transform.
Returns:
Transformed footprint.

getDescription

public String getDescription()
Should provide a general description of the transformation.

Returns:
Description of the transformation.

doInterpolation

public boolean doInterpolation()
Should ndicate whether the transformation should use nearest neighbour (false) or some interpolator (true).

Returns:
True if transformation should perform some local interpolation.


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