org.deegree.model.geometry
Interface GM_SurfacePatch

All Superinterfaces:
GM_GenericSurface
All Known Subinterfaces:
GM_Polygon
All Known Implementing Classes:
GM_Polygon_Impl

public interface GM_SurfacePatch
extends GM_GenericSurface

Defining the iso geometry GM_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: 1.3 $ $Date: 2004/02/09 07:57:02 $
Author:
Andreas Poth

Method Summary
 boolean contains(GM_Object gmo)
          The Boolean valued operation "contains" shall return TRUE if this GM_Object contains another GM_Object.
 double getArea()
          The operation "area" shall return the area of this GM_GenericSurface.
 GM_Point getCentroid()
          The operation "centroid" shall return the mathematical centroid for this GM_Object.
 CS_CoordinateSystem getCoordinateSystem()
          returns the coordinate system of the surface patch
 GM_Position[] getExteriorRing()
          returns the exterior ring of the surface
 GM_Position[][] getInteriorRings()
          returns the interior rings of the surface
 GM_SurfaceInterpolation getInterpolation()
          The interpolation determines the surface interpolation mechanism used for this GM_SurfacePatch.
 boolean intersects(GM_Object gmo)
          The Boolean valued operation "intersects" shall return TRUE if this GM_Object intersects another GM_Object.
 
Methods inherited from interface org.deegree.model.geometry.GM_GenericSurface
getEnvelope, getPerimeter
 

Method Detail

getInterpolation

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


getExteriorRing

public GM_Position[] getExteriorRing()
returns the exterior ring of the surface


getInteriorRings

public GM_Position[][] getInteriorRings()
returns the interior rings of the surface


getCoordinateSystem

public CS_CoordinateSystem getCoordinateSystem()
returns the coordinate system of the surface patch


intersects

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


contains

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


getCentroid

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


getArea

public double getArea()
The operation "area" shall return the area of this GM_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 GM_GenericSurface