com.esri.aims.mtier.model.map.layer.raster
Class Raster

java.lang.Object
  extended by com.esri.aims.mtier.model.map.layer.raster.Raster
All Implemented Interfaces:
Serializable

public class Raster
extends Object
implements Serializable

Contains x, y coordinates, and a CoordSys object that is used to aquire band information about an image layer.

See Also:
Serialized Form

Constructor Summary
Raster()
          Constructs an instance of a Raster object.
 
Method Summary
 CoordSys getCoordSys()
          Returns the CoordSys object associated with this Raster object.
 double getX()
          Returns the x coordinate value of the Raster object.
 double getY()
          Returns the y coordinate value of the Raster object.
 void setCoordSys(CoordSys obj)
          Sets the given CoordSys object to this Raster object.
 void setX(double value)
          Sets the x coordinate value of the Raster object.
 void setY(double value)
          Sets the y coordinate value of the Raster object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Raster

public Raster()
Constructs an instance of a Raster object. Example:
Raster raster = new Raster();

Method Detail

setX

public void setX(double value)
Sets the x coordinate value of the Raster object. Example:
 raster.setX(-125.00);
 

Parameters:
value - the x coordinate value.
See Also:
getX()

getX

public double getX()
Returns the x coordinate value of the Raster object. Example:
 double x = raster.getX();
 

Returns:
double
See Also:
setX(double)

setY

public void setY(double value)
Sets the y coordinate value of the Raster object. Example:
 raster.setY(45.0);
 

Parameters:
value - the Y coordinate value.
See Also:
getY()

getY

public double getY()
Returns the y coordinate value of the Raster object. Example:
 double Y = raster.getY();
 

Returns:
double
See Also:
setY(double)

setCoordSys

public void setCoordSys(CoordSys obj)
Sets the given CoordSys object to this Raster object. Example:
 CoordSys coordsys = new CoordSys();
 coordsys.setID(4326);
 raster.setCoordSys(coordsys);
 

Parameters:
obj - the coordsys object.
See Also:
getCoordSys()

getCoordSys

public CoordSys getCoordSys()
Returns the CoordSys object associated with this Raster object. Example:
 CoordSys coordsys = raster.getCoordSys();
 

Returns:
CoordSys
See Also:
setCoordSys(com.esri.aims.mtier.model.map.projection.CoordSys)