|
|||||||||
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.SeMultiCurve com.esri.sde.sdk.geom.SeMultiLinestring
public class SeMultiLinestring
This class represents a collection of geometric objects whose elements are SeLinestrings.
Field Summary |
---|
Constructor Summary | |
---|---|
SeMultiLinestring()
|
|
SeMultiLinestring(SeCoordRef cr,
SeLinestring[] ls)
|
Method Summary | |
---|---|
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. |
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 |
isClosed()
Isclosed takes a linestring or multilinestring and returns t (TRUE) if it is closed; otherwise it returns f (FALSE). |
boolean |
isMeasured()
Returns t (TRUE) if the geometry object has measures; otherwise, returns f (FALSE). |
boolean |
isRing()
Isring takes a linestring and returns t (TRUE) if it is a ring (i.e., the linestring is closed and simple); otherwise it returns f (FALSE). |
boolean |
isSimple()
Returns t (TRUE) if the geometry object is simple otherwise, it returns f (FALSE). |
double |
length()
Returns the length of a linestring or multilinestring. |
int |
numGeometries()
Numgeometries takes a collection and returns the number of geometries in the collection. |
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 SeMultiLinestring() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public SeMultiLinestring(SeCoordRef cr, SeLinestring[] ls) throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
Method Detail |
---|
public double length() throws com.esri.sde.sdk.geom.SeGeometryException
length
in interface MultiCurve
length
in class SeMultiCurve
com.esri.sde.sdk.geom.SeGeometryException
public boolean isRing() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public boolean isClosed() throws com.esri.sde.sdk.geom.SeGeometryException
isClosed
in interface MultiCurve
isClosed
in class SeMultiCurve
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 boolean isSimple() throws com.esri.sde.sdk.geom.SeGeometryException
isSimple
in interface Geometry
isSimple
in class SeGeometryCollection
com.esri.sde.sdk.geom.SeGeometryException
public boolean isMeasured()
isMeasured
in interface Geometry
isMeasured
in class SeGeometryCollection
public boolean is3D()
is3D
in interface Geometry
is3D
in class SeGeometryCollection
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 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 |