com.esri.sde.sdk.geom
Interface MultiSurface
- All Superinterfaces:
- Geometry, GeometryCollection
- All Known Subinterfaces:
- MultiPolygon
- All Known Implementing Classes:
- SeMultiPolygon, SeMultiSurface
public interface MultiSurface
- extends GeometryCollection
The MultiSurface interface defines the methods for the subclasses
of MultiSurface.
A MultiSurface is a non-instantiable class. It is a two-dimensional
GeometryCollection whose elements are Surfaces. The instantiable
subclass of MultiSurface is MultiPolygon.
Method Summary |
double |
area()
|
Point |
centroid()
Centroid takes a polygon or multipolygon and returns
its geometric center as a point. |
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 |
area
double area()
throws GeometryException
- 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