org.deegree_impl.model.gc
Class GC_GridGeometry_Impl

java.lang.Object
  extended byorg.deegree_impl.model.gc.GC_GridGeometry_Impl
All Implemented Interfaces:
GC_GridGeometry, java.io.Serializable

class GC_GridGeometry_Impl
extends java.lang.Object
implements GC_GridGeometry, java.io.Serializable

Describes the geometry and georeferencing information of the grid coverage. The grid range attribute determines the valid grid coordinates and allows for calculation of grid size. A grid coverage may or may not have georeferencing.

Since:
1.00
Version:
1.00

Field Summary
private  GC_GridRange gridRange
           
private  CT_MathTransform mathTransform
           
 
Constructor Summary
(package private) GC_GridGeometry_Impl(GC_GridRange gridRange)
           
(package private) GC_GridGeometry_Impl(GC_GridRange gridRange, CT_MathTransform mathTransform)
           
 
Method Summary
 GC_GridRange getGridRange()
          The valid coordinate range of a grid coverage.
 CT_MathTransform getGridToCoordinateSystem()
          The math transform allows for the transformations from grid coordinates to real world earth coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gridRange

private GC_GridRange gridRange

mathTransform

private CT_MathTransform mathTransform
Constructor Detail

GC_GridGeometry_Impl

GC_GridGeometry_Impl(GC_GridRange gridRange)

GC_GridGeometry_Impl

GC_GridGeometry_Impl(GC_GridRange gridRange,
                     CT_MathTransform mathTransform)
Method Detail

getGridRange

public GC_GridRange getGridRange()
The valid coordinate range of a grid coverage. The lowest valid grid coordinate is zero. A grid with 512 cells can have a minimum coordinate of 0 and maximum of 512, with 511 as the highest valid index.

Specified by:
getGridRange in interface GC_GridGeometry

getGridToCoordinateSystem

public CT_MathTransform getGridToCoordinateSystem()
The math transform allows for the transformations from grid coordinates to real world earth coordinates. The transform is often an affine transformation. The coordinate system of the real world coordinates is given by the CV_Coverage.getCoordinateSystem() method. If no math transform is given, this attribute will be null.

Specified by:
getGridToCoordinateSystem in interface GC_GridGeometry