com.esri.sde.sdk.geom
Interface Linestring

All Superinterfaces:
Curve, Geometry
All Known Implementing Classes:
SeLinestring

public interface Linestring
extends Curve

The Linestring interface defines the methods for a class whose instances create a geometric object that is a subtype of a Curve with linear interpolation between points.


Method Summary
 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.
 
Methods inherited from interface com.esri.sde.sdk.geom.Curve
endPoint, isClosed, isRing, length, startPoint
 
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, overlap, srid, symmetricDiff, touch, union, within
 

Method Detail

pointN

Geometry pointN(int n)
                throws GeometryException
Pointn takes a linestring and an integer index and returns a point that is the nth vertex in the linestring's path.

Throws:
GeometryException

numPoints

int numPoints()
              throws GeometryException
Returns the number of points in a geometry.

Specified by:
numPoints in interface Geometry
Throws:
GeometryException