com.esri.sde.sdk.geom
Interface Curve

All Superinterfaces:
Geometry
All Known Subinterfaces:
Linestring
All Known Implementing Classes:
SeCurve, SeLinestring

public interface Curve
extends Geometry

The Curve interface defines the methods for a class whose instances create a one-dimensional geometric object stored as a sequence of points.


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

Method Detail

startPoint

Point startPoint()
                 throws GeometryException
Returns the first point of a linestring.

Throws:
GeometryException

endPoint

Point endPoint()
               throws GeometryException
Returns the last point of a linestring.

Throws:
GeometryException

length

double length()
              throws GeometryException
Returns the length of a linestring or multilinestring.

Throws:
GeometryException

isRing

boolean isRing()
               throws GeometryException
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).

Throws:
GeometryException

isClosed

boolean isClosed()
                 throws GeometryException
Isclosed takes a linestring or multilinestring and returns t (TRUE) if it is closed; otherwise it returns f (FALSE).

Throws:
GeometryException