deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.geometry.standard.surfacepatches
Class DefaultGriddedSurfacePatch

java.lang.Object
  extended by org.deegree.geometry.standard.surfacepatches.DefaultGriddedSurfacePatch
All Implemented Interfaces:
GriddedSurfacePatch, SurfacePatch

public class DefaultGriddedSurfacePatch
extends Object
implements GriddedSurfacePatch

TODO add class documentation here.

Version:
$Revision: $, $Date: $
Author:
Andrei Ionita, last edited by: $Author: ionita $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.patches.GriddedSurfacePatch
GriddedSurfacePatch.GriddedSurfaceType
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.patches.SurfacePatch
SurfacePatch.SurfacePatchType
 
Constructor Summary
DefaultGriddedSurfacePatch(List<Points> grid)
           
DefaultGriddedSurfacePatch(List<Points> grid, int rows, int columns)
           
 
Method Summary
 Measure getArea(Unit requestedBaseUnit)
          Returns the area covered by the patch.
 int getCoordinateDimension()
          Returns the coordinate dimension, i.e. the dimension of the space that the patch is embedded in.
 GriddedSurfacePatch.GriddedSurfaceType getGriddedSurfaceType()
          Returns the type of gridded surface, the type determines the horizontal and vertical curve types used for interpolation.
 int getNumColumns()
          Returns the number of columns in the parameter grid.
 int getNumRows()
          Returns the number of rows in the parameter grid.
 Points getRow(int rownum)
          Returns the specified row of the parameter grid.
 List<Points> getRows()
          Returns all rows of the parameter grid.
 SurfacePatch.SurfacePatchType getSurfacePatchType()
          Returns the type of surface patch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGriddedSurfacePatch

public DefaultGriddedSurfacePatch(List<Points> grid,
                                  int rows,
                                  int columns)

DefaultGriddedSurfacePatch

public DefaultGriddedSurfacePatch(List<Points> grid)
Method Detail

getGriddedSurfaceType

public GriddedSurfacePatch.GriddedSurfaceType getGriddedSurfaceType()
Description copied from interface: GriddedSurfacePatch
Returns the type of gridded surface, the type determines the horizontal and vertical curve types used for interpolation.

Specified by:
getGriddedSurfaceType in interface GriddedSurfacePatch
Returns:
the type of gridded surface

getNumColumns

public int getNumColumns()
Description copied from interface: GriddedSurfacePatch
Returns the number of columns in the parameter grid.

Specified by:
getNumColumns in interface GriddedSurfacePatch
Returns:
the number of columns

getNumRows

public int getNumRows()
Description copied from interface: GriddedSurfacePatch
Returns the number of rows in the parameter grid.

Specified by:
getNumRows in interface GriddedSurfacePatch
Returns:
the number of rows

getRow

public Points getRow(int rownum)
Description copied from interface: GriddedSurfacePatch
Returns the specified row of the parameter grid.

Specified by:
getRow in interface GriddedSurfacePatch
Parameters:
rownum - row to be returned
Returns:
the specified row

getRows

public List<Points> getRows()
Description copied from interface: GriddedSurfacePatch
Returns all rows of the parameter grid.

Specified by:
getRows in interface GriddedSurfacePatch
Returns:
all rows

getArea

public Measure getArea(Unit requestedBaseUnit)
Description copied from interface: SurfacePatch
Returns the area covered by the patch.

Specified by:
getArea in interface SurfacePatch
Returns:
area covered by the patch in the requested uom

getCoordinateDimension

public int getCoordinateDimension()
Description copied from interface: SurfacePatch
Returns the coordinate dimension, i.e. the dimension of the space that the patch is embedded in.

Specified by:
getCoordinateDimension in interface SurfacePatch
Returns:
the coordinate dimension

getSurfacePatchType

public SurfacePatch.SurfacePatchType getSurfacePatchType()
Description copied from interface: SurfacePatch
Returns the type of surface patch.

Specified by:
getSurfacePatchType in interface SurfacePatch
Returns:
the type of surface patch

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>