deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.spatialschema
Interface SurfacePatch

All Superinterfaces:
GenericSurface
All Known Subinterfaces:
Polygon
All Known Implementing Classes:
PolygonImpl, SurfacePatchImpl

public interface SurfacePatch
extends GenericSurface

Defining the iso geometry SurfacePatch which is used for building surfaces. A surface patch is made of one exterior ring and 0..n interior rings. By definition there can't be a surface patch with no exterior ring. A polygon is a specialized surface patch. -----------------------------------------------------

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth

Method Summary
 boolean contains(Geometry gmo)
          The Boolean valued operation "contains" shall return TRUE if this Geometry contains another Geometry.
 double getArea()
          The operation "area" shall return the area of this GenericSurface.
 Point getCentroid()
          The operation "centroid" shall return the mathematical centroid for this surfacepatch.
 CoordinateSystem getCoordinateSystem()
           
 Ring getExterior()
           
 Position[] getExteriorRing()
           
 Ring[] getInterior()
           
 Position[][] getInteriorRings()
           
 SurfaceInterpolation getInterpolation()
          The interpolation determines the surface interpolation mechanism used for this SurfacePatch.
 boolean intersects(Geometry gmo)
          The Boolean valued operation "intersects" shall return TRUE if this surfacepatch intersects another Geometry.
 
Methods inherited from interface org.deegree.model.spatialschema.GenericSurface
getEnvelope, getPerimeter
 

Method Detail

getInterpolation

SurfaceInterpolation getInterpolation()
The interpolation determines the surface interpolation mechanism used for this SurfacePatch. This mechanism uses the control points and control parameters defined in the various subclasses to determine the position of this SurfacePatch.

Returns:
the surface interpolation of this surface

getExteriorRing

Position[] getExteriorRing()
Returns:
the exterior ring of a surfacePatch

getInteriorRings

Position[][] getInteriorRings()
Returns:
the interior rings of a surfacePatch

getExterior

Ring getExterior()
Returns:
the exterior ring of a surfacePatch

getInterior

Ring[] getInterior()
Returns:
the interior rings of a surfacePatch

getCoordinateSystem

CoordinateSystem getCoordinateSystem()
Returns:
the coordinate system of the surface patch

intersects

boolean intersects(Geometry gmo)
The Boolean valued operation "intersects" shall return TRUE if this surfacepatch intersects another Geometry. Within a Complex, the Primitives do not intersect one another. In general, topologically structured data uses shared geometric objects to capture intersection information.

Parameters:
gmo -
Returns:
true if this surfacepatch intersects with given Geometry

contains

boolean contains(Geometry gmo)
The Boolean valued operation "contains" shall return TRUE if this Geometry contains another Geometry.

Parameters:
gmo -
Returns:
true if this surfacepatch contains given Geometry

getCentroid

Point getCentroid()
The operation "centroid" shall return the mathematical centroid for this surfacepatch. The result is not guaranteed to be on the object.

Returns:
the centroid

getArea

double getArea()
The operation "area" shall return the area of this GenericSurface. The area of a 2 dimensional geometric object shall be a numeric measure of its surface area Since area is an accumulation (integral) of the product of two distances, its return value shall be in a unit of measure appropriate for measuring distances squared.

Specified by:
getArea in interface GenericSurface
Returns:
the area

deegree 2.3 (2010/04/09 10:10 build-4-official)

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