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

org.deegree.geometry.primitive.patches
Interface SurfacePatch

All Known Subinterfaces:
Cone, Cylinder, GriddedSurfacePatch, PolygonPatch, Rectangle, Sphere, Triangle
All Known Implementing Classes:
DefaultCone, DefaultCylinder, DefaultGriddedSurfacePatch, DefaultPolygonPatch, DefaultRectangle, DefaultSphere, DefaultTriangle

public interface SurfacePatch

A SurfacePatch describes a continuous portion of a Surface.

Author:
Andreas Poth, Markus Schneider, last edited by: $Author: rbezema $

Nested Class Summary
static class SurfacePatch.SurfacePatchType
          Convenience enum type for discriminating the different surface patch variants in switch statements.
 
Method Summary
 Measure getArea(Unit uom)
          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.
 SurfacePatch.SurfacePatchType getSurfacePatchType()
          Returns the type of surface patch.
 

Method Detail

getSurfacePatchType

SurfacePatch.SurfacePatchType getSurfacePatchType()
Returns the type of surface patch.

Returns:
the type of surface patch

getCoordinateDimension

int getCoordinateDimension()
Returns the coordinate dimension, i.e. the dimension of the space that the patch is embedded in.

Returns:
the coordinate dimension

getArea

Measure getArea(Unit uom)
Returns the area covered by the patch.

Parameters:
uom -
Returns:
area covered by the patch in the requested uom

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

]]>