org.deegree.geometry.primitive.patches
Interface GriddedSurfacePatch

All Superinterfaces:
SurfacePatch
All Known Subinterfaces:
Cone, Cylinder, Sphere
All Known Implementing Classes:
DefaultCone, DefaultCylinder, DefaultGriddedSurfacePatch, DefaultSphere

public interface GriddedSurfacePatch
extends SurfacePatch

A GriddedSurfacePatch is a (usually non-planar) parametric SurfacePatch derived from a rectangular grid in the parameter space. The rows from this grid are control points for horizontal surface curves; the columns are control points for vertical surface curves.

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Nested Class Summary
static class GriddedSurfacePatch.GriddedSurfaceType
          Discriminates the different types of gridded surface patches.
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.patches.SurfacePatch
SurfacePatch.SurfacePatchType
 
Method Summary
 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.
 
Methods inherited from interface org.deegree.geometry.primitive.patches.SurfacePatch
getArea, getCoordinateDimension, getSurfacePatchType
 

Method Detail

getGriddedSurfaceType

GriddedSurfacePatch.GriddedSurfaceType getGriddedSurfaceType()
Returns the type of gridded surface, the type determines the horizontal and vertical curve types used for interpolation.

Returns:
the type of gridded surface

getNumRows

int getNumRows()
Returns the number of rows in the parameter grid.

Returns:
the number of rows

getNumColumns

int getNumColumns()
Returns the number of columns in the parameter grid.

Returns:
the number of columns

getRow

Points getRow(int rownum)
Returns the specified row of the parameter grid.

Parameters:
rownum - row to be returned
Returns:
the specified row

getRows

List<Points> getRows()
Returns all rows of the parameter grid.

Returns:
all rows


Copyright © 2011. All Rights Reserved.