com.esri.sde.sdk.geom
Interface Surface

All Superinterfaces:
Geometry
All Known Subinterfaces:
Polygon
All Known Implementing Classes:
SePolygon, SeSurface

public interface Surface
extends Geometry

The Surface interface defines the methods for a class whose instances create a two-dimensional geometric object.


Method Summary
 double area()
          Returns the area of a polygon or multipolygon.
 Point centroid()
          Centroid takes a polygon or multipolygon and returns its geometric center as a point.
 double perimeter()
          Returns the length of the perimeter of a surface.
 Point pointOnSurface()
          Pointonsurface takes a polygon or multipolygon and returns a point guaranteed to lie on its surface.
 
Methods inherited from interface com.esri.sde.sdk.geom.Geometry
asBinary, asText, boundary, buffer, contains, convexhull, crosses, difference, dimension, disjoint, distance, envelope, envelopesIntersect, equal, exterior, geometryType, interior, intersect, intersection, is3D, isEmpty, isMeasured, isSimple, isValid, locateAlong, locateBetween, numPoints, overlap, srid, symmetricDiff, touch, union, within
 

Method Detail

area

double area()
            throws GeometryException
Returns the area of a polygon or multipolygon.

Throws:
GeometryException

perimeter

double perimeter()
                 throws GeometryException
Returns the length of the perimeter of a surface.

Throws:
GeometryException

centroid

Point centroid()
               throws GeometryException
Centroid takes a polygon or multipolygon and returns its geometric center as a point.

Throws:
GeometryException

pointOnSurface

Point pointOnSurface()
                     throws GeometryException
Pointonsurface takes a polygon or multipolygon and returns a point guaranteed to lie on its surface.

Throws:
GeometryException