com.esri.core.geometry.ogc
public class OGCLineString extends OGCCurve
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() |
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.
|
OGCPoint |
startPoint() |
asGeoJson, asJson, buffer, contains, convexHull, coordinateDimension, createFromEsriCursor, createFromEsriCursor, createFromEsriGeometry, createFromEsriGeometry, createFromOGCStructure, crosses, difference, dimension, disjoint, distance, envelope, equals, fromBinary, fromEsriShape, fromGeoJson, fromJson, fromText, getEsriGeometryCursor, getEsriSpatialReference, intersection, intersects, is3D, isConcreteGeometryCollection, isEmpty, isMeasured, isSimple, isSimpleRelaxed, makeSimple, makeSimpleRelaxed, MakeSimpleRelaxed, MaxMeasure, MaxZ, MinMeasure, MinZ, overlaps, relate, setSpatialReference, SRID, symDifference, toString, touches, union, within
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 OGCGeometry
public ByteBuffer asBinary()
asBinary
in class OGCGeometry
public OGCPoint pointN(int n)
n
- The 0 based index of the Point.public OGCPoint startPoint()
startPoint
in class OGCCurve
public String geometryType()
geometryType
in class OGCGeometry
public OGCGeometry locateAlong(double mValue)
locateAlong
in class OGCGeometry
public OGCGeometry locateBetween(double mStart, double mEnd)
locateBetween
in class OGCGeometry
public Geometry getEsriGeometry()
getEsriGeometry
in class OGCGeometry
public OGCGeometry convertToMulti()
OGCGeometry
convertToMulti
in class OGCGeometry
Copyright © 2015. All Rights Reserved.