|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.geom.SeGeometry com.esri.sde.sdk.geom.SeGeometryCollection com.esri.sde.sdk.geom.SeMultiSurface com.esri.sde.sdk.geom.SeMultiPolygon
public class SeMultiPolygon
This class represents a collection of geometric objects whose elements are SePolygons.
Field Summary |
---|
Constructor Summary | |
---|---|
SeMultiPolygon()
|
|
SeMultiPolygon(SeCoordRef cr,
SePolygon[] ps)
|
Method Summary | |
---|---|
double |
area()
Returns the area of a polygon or multipolygon. |
Geometry |
boundary()
Boundary takes a geometry object and returns its combined boundary as a geometry object. |
Geometry |
buffer(double distance)
Buffer takes a geometry object and returns the geometry object that surrounds the source object. |
Point |
centroid()
Centroid takes a polygon or multipolygon and returns its geometric center as a point. |
int |
dimension()
Returns the dimension of a geometry object. |
Geometry |
envelope()
Returns the bounding box of a geometry object as a polygon. |
Geometry |
geometryN(int n)
Geometryn takes a collection and an integer index and returns the nth geometry object in the collection. |
java.lang.String |
geometryType()
Geometrytype takes a geometry object and returns its geometry type as a string. |
boolean |
is3D()
Returns t (TRUE) if the geometry object has three-dimensional coordinates; otherwise, returns f (FALSE). |
boolean |
isMeasured()
Returns t (TRUE) if the geometry object has measures; otherwise, returns f (FALSE). |
boolean |
isSimple()
Returns t (TRUE) if the geometry object is simple otherwise, it returns f (FALSE). |
int |
numGeometries()
Numgeometries takes a collection and returns the number of geometries in the collection. |
Point |
pointOnSurface()
Pointonsurface takes a polygon or multipolygon and returns a point guaranteed to lie on its surface. |
java.lang.String |
toString()
|
Methods inherited from class com.esri.sde.sdk.geom.SeGeometryCollection |
---|
convexhull, exterior, interior, isEmpty, locateAlong, locateBetween, numPoints |
Methods inherited from class com.esri.sde.sdk.geom.SeGeometry |
---|
asBinary, asBinaryShape, asText, contains, crosses, difference, disjoint, distance, envelopesIntersect, equal, getMaxX, getMaxY, getMinX, getMinY, intersect, intersection, isValid, overlap, setCoordRef, srid, symmetricDiff, toSdeShape, toSeGeometry, 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, contains, convexhull, crosses, difference, disjoint, distance, envelopesIntersect, equal, exterior, interior, intersect, intersection, isEmpty, isValid, locateAlong, locateBetween, numPoints, overlap, srid, symmetricDiff, touch, union, within |
Constructor Detail |
---|
public SeMultiPolygon() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public SeMultiPolygon(SeCoordRef cr, SePolygon[] ps) throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
Method Detail |
---|
public double area() throws com.esri.sde.sdk.geom.SeGeometryException
SeMultiSurface
area
in interface MultiSurface
area
in class SeMultiSurface
com.esri.sde.sdk.geom.SeGeometryException
public Point centroid() throws com.esri.sde.sdk.geom.SeGeometryException
centroid
in interface MultiSurface
centroid
in class SeMultiSurface
com.esri.sde.sdk.geom.SeGeometryException
public Point pointOnSurface() throws com.esri.sde.sdk.geom.SeGeometryException
pointOnSurface
in interface MultiSurface
pointOnSurface
in class SeMultiSurface
com.esri.sde.sdk.geom.SeGeometryException
public Geometry envelope() throws com.esri.sde.sdk.geom.SeGeometryException
envelope
in interface Geometry
envelope
in class SeGeometryCollection
com.esri.sde.sdk.geom.SeGeometryException
public Geometry buffer(double distance) throws com.esri.sde.sdk.geom.SeGeometryException
buffer
in interface Geometry
buffer
in class SeGeometryCollection
com.esri.sde.sdk.geom.SeGeometryException
public Geometry boundary() throws com.esri.sde.sdk.geom.SeGeometryException
boundary
in interface Geometry
boundary
in class SeGeometryCollection
com.esri.sde.sdk.geom.SeGeometryException
public Geometry geometryN(int n) throws com.esri.sde.sdk.geom.SeGeometryException
geometryN
in interface GeometryCollection
geometryN
in class SeGeometryCollection
com.esri.sde.sdk.geom.SeGeometryException
public boolean isSimple()
isSimple
in interface Geometry
isSimple
in class SeGeometryCollection
public boolean isMeasured()
isMeasured
in interface Geometry
isMeasured
in class SeGeometryCollection
public boolean is3D()
is3D
in interface Geometry
is3D
in class SeGeometryCollection
public int numGeometries() throws com.esri.sde.sdk.geom.SeGeometryException
numGeometries
in interface GeometryCollection
numGeometries
in class SeGeometryCollection
com.esri.sde.sdk.geom.SeGeometryException
public java.lang.String toString()
toString
in class SeGeometry
public int dimension()
dimension
in interface Geometry
dimension
in class SeGeometryCollection
public java.lang.String geometryType()
geometryType
in interface Geometry
geometryType
in class SeGeometryCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |