com.esri.sde.sdk.geom
Class SeSurface
java.lang.Object
com.esri.sde.sdk.geom.SeGeometry
com.esri.sde.sdk.geom.SeSurface
- All Implemented Interfaces:
- Geometry, Surface, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- SePolygon
public abstract class SeSurface
- extends SeGeometry
- implements Surface
This class represents a two-dimensional geometric object.
- See Also:
- Serialized Form
Fields inherited from class com.esri.sde.sdk.geom.SeGeometry |
LINESTRING_TYPE, LINESTRINGM_TYPE, LINESTRINGZ_TYPE, LINESTRINGZM_TYPE, MULTILINESTRING_TYPE, MULTILINESTRINGM_TYPE, MULTILINESTRINGZ_TYPE, MULTILINESTRINGZM_TYPE, MULTIPOINT_TYPE, MULTIPOINTM_TYPE, MULTIPOINTZ_TYPE, MULTIPOINTZM_TYPE, MULTIPOLYGON_TYPE, MULTIPOLYGONM_TYPE, MULTIPOLYGONZ_TYPE, MULTIPOLYGONZM_TYPE, POINT_TYPE, POINTM_TYPE, POINTZ_TYPE, POINTZM_TYPE, POLYGON_TYPE, POLYGONM_TYPE, POLYGONZ_TYPE, POLYGONZM_TYPE, UNSPECIFIED_TYPE |
Method Summary |
abstract double |
area()
Returns the area of a polygon or multipolygon. |
abstract Point |
centroid()
Centroid takes a polygon or multipolygon and returns
its geometric center as a point. |
abstract double |
perimeter()
Returns the length of the perimeter of a surface. |
abstract Point |
pointOnSurface()
Pointonsurface takes a polygon or multipolygon and returns a
point guaranteed to lie on its surface. |
Methods inherited from class com.esri.sde.sdk.geom.SeGeometry |
asBinary, asBinaryShape, asText, boundary, buffer, contains, convexhull, crosses, difference, dimension, disjoint, distance, envelope, envelopesIntersect, equal, exterior, geometryType, getMaxX, getMaxY, getMinX, getMinY, interior, intersect, intersection, is3D, isEmpty, isMeasured, isSimple, isValid, locateAlong, locateBetween, numPoints, overlap, setCoordRef, srid, symmetricDiff, toSdeShape, toSeGeometry, toString, touch, union, within |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 |
SeSurface
public SeSurface()
area
public abstract double area()
throws com.esri.sde.sdk.geom.SeGeometryException
- Returns the area of a polygon or multipolygon.
- Specified by:
area
in interface Surface
- Throws:
com.esri.sde.sdk.geom.SeGeometryException
perimeter
public abstract double perimeter()
throws com.esri.sde.sdk.geom.SeGeometryException
- Returns the length of the perimeter of a surface.
- Specified by:
perimeter
in interface Surface
- Throws:
com.esri.sde.sdk.geom.SeGeometryException
centroid
public abstract Point centroid()
throws com.esri.sde.sdk.geom.SeGeometryException
- Centroid takes a polygon or multipolygon and returns
its geometric center as a point.
- Specified by:
centroid
in interface Surface
- Throws:
com.esri.sde.sdk.geom.SeGeometryException
pointOnSurface
public abstract Point pointOnSurface()
throws com.esri.sde.sdk.geom.SeGeometryException
- Pointonsurface takes a polygon or multipolygon and returns a
point guaranteed to lie on its surface.
- Specified by:
pointOnSurface
in interface Surface
- Throws:
com.esri.sde.sdk.geom.SeGeometryException