com.esri.sde.sdk.geom
Class SeCurve

java.lang.Object
  extended by com.esri.sde.sdk.geom.SeGeometry
      extended by com.esri.sde.sdk.geom.SeCurve
All Implemented Interfaces:
Curve, Geometry, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
SeLinestring

public abstract class SeCurve
extends SeGeometry
implements Curve

This class represents a one-dimensional geometric object usually stored as a sequence of points, its subtype specifies the form of the interpolation between points. One subclass of SeCurve is SeLinestring, which uses linear interpolation between points.

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
SeCurve()
           
 
Method Summary
abstract  Point endPoint()
          Returns the last point of a linestring.
abstract  boolean isClosed()
          Isclosed takes a linestring or multilinestring and returns t (TRUE) if it is closed; otherwise it returns f (FALSE).
abstract  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).
abstract  double length()
          Returns the length of a linestring or multilinestring.
abstract  Point startPoint()
          Returns the first point of a linestring.
 
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
 

Constructor Detail

SeCurve

public SeCurve()
Method Detail

startPoint

public abstract Point startPoint()
                          throws com.esri.sde.sdk.geom.SeGeometryException
Returns the first point of a linestring.

Specified by:
startPoint in interface Curve
Throws:
com.esri.sde.sdk.geom.SeGeometryException

endPoint

public abstract Point endPoint()
                        throws com.esri.sde.sdk.geom.SeGeometryException
Returns the last point of a linestring.

Specified by:
endPoint in interface Curve
Throws:
com.esri.sde.sdk.geom.SeGeometryException

length

public abstract double length()
                       throws com.esri.sde.sdk.geom.SeGeometryException
Returns the length of a linestring or multilinestring.

Specified by:
length in interface Curve
Throws:
com.esri.sde.sdk.geom.SeGeometryException

isRing

public abstract boolean isRing()
                        throws com.esri.sde.sdk.geom.SeGeometryException
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).

Specified by:
isRing in interface Curve
Throws:
com.esri.sde.sdk.geom.SeGeometryException

isClosed

public abstract boolean isClosed()
                          throws com.esri.sde.sdk.geom.SeGeometryException
Isclosed takes a linestring or multilinestring and returns t (TRUE) if it is closed; otherwise it returns f (FALSE).

Specified by:
isClosed in interface Curve
Throws:
com.esri.sde.sdk.geom.SeGeometryException