public class OGCLineString extends OGCCurve
| Modifier and Type | Field and Description | 
|---|---|
static String | 
TYPE  | 
esriSR| Constructor and Description | 
|---|
OGCLineString(MultiPath mp,
             int pathIndex,
             SpatialReference sr)  | 
OGCLineString(MultiPath mp,
             int pathIndex,
             SpatialReference sr,
             boolean reversed)  | 
| Modifier and Type | Method and Description | 
|---|---|
ByteBuffer | 
asBinary()  | 
String | 
asText()  | 
OGCGeometry | 
convertToMulti()
Converts this Geometry to the OGCMulti* if it is not OGCMulti* or
 OGCGeometryCollection already. 
 | 
OGCPoint | 
endPoint()  | 
long | 
estimateMemorySize()
Returns an estimate of this object size in bytes. 
 | 
String | 
geometryType()  | 
Geometry | 
getEsriGeometry()  | 
boolean | 
isClosed()  | 
double | 
length()  | 
OGCGeometry | 
locateAlong(double mValue)  | 
OGCGeometry | 
locateBetween(double mStart,
             double mEnd)  | 
int | 
numPoints()
The number of Points in this LineString. 
 | 
OGCPoint | 
pointN(int n)
Returns the specified Point N in this LineString. 
 | 
OGCGeometry | 
reduceFromMulti()
For the geometry collection types, when it has 1 or 0 elements, converts a MultiPolygon to Polygon, 
 MultiPoint to Point, MultiLineString to a LineString, and
 OGCConcretGeometryCollection to the reduced element it contains. 
 | 
OGCPoint | 
startPoint()  | 
asGeoJson, asJson, buffer, centroid, contains, convexHull, coordinateDimension, createFromEsriCursor, createFromEsriCursor, createFromEsriGeometry, createFromEsriGeometry, createFromOGCStructure, crosses, difference, dimension, disjoint, distance, envelope, equals, equals, Equals, fromBinary, fromEsriShape, fromGeoJson, fromJson, fromText, getEsriGeometryCursor, getEsriSpatialReference, hashCode, intersection, intersects, is3D, isConcreteGeometryCollection, isEmpty, isMeasured, isSimple, isSimpleRelaxed, makeSimple, makeSimpleRelaxed, MakeSimpleRelaxed, MaxMeasure, MaxZ, MinMeasure, MinZ, overlaps, relate, setSpatialReference, SRID, symDifference, toString, touches, union, withinpublic static String TYPE
public OGCLineString(MultiPath mp, int pathIndex, SpatialReference sr)
public OGCLineString(MultiPath mp, int pathIndex, SpatialReference sr, boolean reversed)
public int numPoints()
public String asText()
asText in class OGCGeometrypublic ByteBuffer asBinary()
asBinary in class OGCGeometrypublic OGCPoint pointN(int n)
n - The 0 based index of the Point.public OGCPoint startPoint()
startPoint in class OGCCurvepublic String geometryType()
geometryType in class OGCGeometrypublic long estimateMemorySize()
OGCGeometry
 This estimate doesn't include the size of the SpatialReference object
 because instances of SpatialReference are expected to be shared among
 geometry objects.
estimateMemorySize in class OGCGeometrypublic OGCGeometry locateAlong(double mValue)
locateAlong in class OGCGeometrypublic OGCGeometry locateBetween(double mStart, double mEnd)
locateBetween in class OGCGeometrypublic Geometry getEsriGeometry()
getEsriGeometry in class OGCGeometrypublic OGCGeometry convertToMulti()
OGCGeometryconvertToMulti in class OGCGeometrypublic OGCGeometry reduceFromMulti()
OGCGeometryreduceFromMulti in class OGCGeometryCopyright © 2018. All rights reserved.