|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Surface
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 |
---|
double area() throws GeometryException
GeometryException
double perimeter() throws GeometryException
GeometryException
Point centroid() throws GeometryException
GeometryException
Point pointOnSurface() throws GeometryException
GeometryException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |