|
|||||||||
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.SeCurve com.esri.sde.sdk.geom.SeLinestring
public class SeLinestring
This class is a subclass of SeCurve with a linear interpolation between points, each consecutive pair of points defines a line segment.
Field Summary |
---|
Constructor Summary | |
---|---|
SeLinestring()
|
|
SeLinestring(SeCoordRef cr,
SePoint[] pts)
|
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. |
Geometry |
convexhull()
Returns the convex hull of a geometry object. |
int |
dimension()
Returns the dimension of a geometry object. |
Point |
endPoint()
Returns the last point of a linestring. |
Geometry |
envelope()
Returns the bounding box of a geometry object as a polygon. |
Geometry |
exterior()
The interior is the space occupied by the geometry. |
java.lang.String |
geometryType()
Geometrytype takes a geometry object and returns its geometry type as a string. |
double[] |
getMs()
|
SePoint[] |
getXYs()
|
double[] |
getZs()
|
Geometry |
interior()
The exterior of a geometry if all space not occupied by the geometry. |
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 |
isEmpty()
Returns t (TRUE) if the geometry is empty; otherwise 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. |
Geometry |
locateAlong(double measure)
Locatealong takes a geometry object and a measure to return as a multipoint the set of points found at the measure. |
Geometry |
locateBetween(double measure1,
double measure2)
Locatebetween takes a geometry object and two measure locations and returns a linestring that represents the set of disconnected paths between the two measure locations. |
int |
numPoints()
Returns the number of points in a geometry. |
Geometry |
pointN(int n)
Pointn takes a linestring and an integer index and returns a point that is the nth vertex in the linestring's path. |
Point |
startPoint()
Returns the first point of a linestring. |
java.lang.String |
toString()
|
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, crosses, difference, disjoint, distance, envelopesIntersect, equal, intersect, intersection, isValid, overlap, srid, symmetricDiff, touch, union, within |
Constructor Detail |
---|
public SeLinestring() throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public SeLinestring(SeCoordRef cr, SePoint[] pts) throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
Method Detail |
---|
public Point startPoint() throws com.esri.sde.sdk.geom.SeGeometryException
startPoint
in interface Curve
startPoint
in class SeCurve
com.esri.sde.sdk.geom.SeGeometryException
public Point endPoint() throws com.esri.sde.sdk.geom.SeGeometryException
endPoint
in interface Curve
endPoint
in class SeCurve
com.esri.sde.sdk.geom.SeGeometryException
public Geometry pointN(int n) throws com.esri.sde.sdk.geom.SeGeometryException
pointN
in interface Linestring
com.esri.sde.sdk.geom.SeGeometryException
public double length() throws com.esri.sde.sdk.geom.SeGeometryException
length
in interface Curve
length
in class SeCurve
com.esri.sde.sdk.geom.SeGeometryException
public boolean isRing() throws com.esri.sde.sdk.geom.SeGeometryException
isRing
in interface Curve
isRing
in class SeCurve
com.esri.sde.sdk.geom.SeGeometryException
public boolean isClosed() throws com.esri.sde.sdk.geom.SeGeometryException
isClosed
in interface Curve
isClosed
in class SeCurve
com.esri.sde.sdk.geom.SeGeometryException
public Geometry boundary() throws com.esri.sde.sdk.geom.SeGeometryException
boundary
in interface Geometry
boundary
in class SeGeometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry interior()
interior
in interface Geometry
interior
in class SeGeometry
public Geometry exterior()
exterior
in interface Geometry
exterior
in class SeGeometry
public Geometry buffer(double distance) throws com.esri.sde.sdk.geom.SeGeometryException
buffer
in interface Geometry
buffer
in class SeGeometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean isSimple() throws com.esri.sde.sdk.geom.SeGeometryException
isSimple
in interface Geometry
isSimple
in class SeGeometry
com.esri.sde.sdk.geom.SeGeometryException
public boolean isEmpty()
isEmpty
in interface Geometry
isEmpty
in class SeGeometry
public int numPoints() throws com.esri.sde.sdk.geom.SeGeometryException
numPoints
in interface Geometry
numPoints
in interface Linestring
numPoints
in class SeGeometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry envelope() throws com.esri.sde.sdk.geom.SeGeometryException
envelope
in interface Geometry
envelope
in class SeGeometry
com.esri.sde.sdk.geom.SeGeometryException
public int dimension()
dimension
in interface Geometry
dimension
in class SeGeometry
public boolean isMeasured()
isMeasured
in interface Geometry
isMeasured
in class SeGeometry
public boolean is3D()
is3D
in interface Geometry
is3D
in class SeGeometry
public java.lang.String geometryType()
geometryType
in interface Geometry
geometryType
in class SeGeometry
public Geometry convexhull() throws com.esri.sde.sdk.geom.SeGeometryException
convexhull
in interface Geometry
convexhull
in class SeGeometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry locateAlong(double measure) throws com.esri.sde.sdk.geom.SeGeometryException
locateAlong
in interface Geometry
locateAlong
in class SeGeometry
com.esri.sde.sdk.geom.SeGeometryException
public Geometry locateBetween(double measure1, double measure2) throws com.esri.sde.sdk.geom.SeGeometryException
locateBetween
in interface Geometry
locateBetween
in class SeGeometry
com.esri.sde.sdk.geom.SeGeometryException
public SePoint[] getXYs()
public double[] getMs()
public double[] getZs()
public java.lang.String toString()
toString
in class SeGeometry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |