|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.coverage.grid.ImageGeometry
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 FormConstructor Summary | |
---|---|
ImageGeometry(java.awt.Rectangle bounds,
java.awt.geom.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(java.lang.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. |
java.lang.String |
toString()
Returns a string representation of this grid geometry. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageGeometry(java.awt.Rectangle bounds, java.awt.geom.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 org.opengis.coverage.grid.GridGeometry
public AffineTransform2D getGridToCRS()
getGridToCRS
in interface org.opengis.coverage.grid.GridGeometry
public AffineTransform2D getGridToCoordinateSystem()
getGridToCRS()
.
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- The object to compare with.
true
if the given object is equals to this grid geometry.public ImageGeometry clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |