|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectImageGeometry
public class ImageGeometry
A simple grid geometry holding the grid range as a rectangle and the
grid to CRS relationship as an affine transform.
This grid geometry does not hold any Coordinate Reference System information. Because of that,
it is not suitable to GridCoverage2D (the later rather use GridGeometry2D).
But it is sometime used with plain rendered image
instances.
GridGeometry2D,
GeneralGridGeometry,
Serialized Form| Constructor Summary | |
|---|---|
ImageGeometry(Rectangle bounds,
AffineTransform gridToCRS)
Creates a grid geometry from the specified bounds and grid to CRS affine transform. |
|
| Method Summary | |
|---|---|
ImageGeometry |
clone()
Returns a clone of this image geometry. |
boolean |
equals(Object object)
Compares this grid geometry with the specified one for equality. |
GridEnvelope2D |
getGridRange()
Returns the image bounds in pixel coordinates. |
AffineTransform2D |
getGridToCoordinateSystem()
Deprecated. Renamed as getGridToCRS(). |
AffineTransform2D |
getGridToCRS()
Returns the conversion from grid coordinates to real world earth coordinates. |
int |
hashCode()
Returns a hash code value for this grid geometry. |
String |
toString()
Returns a string representation of this grid geometry. |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImageGeometry(Rectangle bounds,
AffineTransform gridToCRS)
bounds - The image bounds in pixel coordinates.gridToCRS - The affine transform from pixel coordinates to "real world" coordinates.| Method Detail |
|---|
public GridEnvelope2D getGridRange()
getGridRange in interface GridGeometrypublic AffineTransform2D getGridToCRS()
getGridToCRS in interface GridGeometrypublic AffineTransform2D getGridToCoordinateSystem()
getGridToCRS().
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectobject - The object to compare with.
true if the given object is equals to this grid geometry.public ImageGeometry clone()
clone in class ObjectObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||