deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.model.spatialschema
Interface GenericSurface

All Known Subinterfaces:
Polygon, Surface, SurfacePatch
All Known Implementing Classes:
PolygonImpl, SurfaceImpl, SurfacePatchImpl

public interface GenericSurface

The interface defines the basis of surfaces and surface patches

-----------------------------------------------------

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

Author:
Andreas Poth

Method Summary
 double getArea()
          The operation "area" shall return the area of this GenericSurface.
 Envelope getEnvelope()
           
 double getPerimeter()
           
 

Method Detail

getPerimeter

double getPerimeter()
Returns:
the length of all boundaries of the surface in a reference system appropriate for measuring distances.

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.

Returns:
the area

getEnvelope

Envelope getEnvelope()
Returns:
the bounding box of the surface

deegree 2.5 (2011/06/29 09:44 build-8-official)

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