com.esri.core.geometry.ogc
Class OGCLineString
java.lang.Object
com.esri.core.geometry.ogc.OGCGeometry
com.esri.core.geometry.ogc.OGCCurve
com.esri.core.geometry.ogc.OGCLineString
- Direct Known Subclasses:
- OGCLinearRing
public class OGCLineString
- extends OGCCurve
| Methods inherited from class com.esri.core.geometry.ogc.OGCGeometry |
asGeoJson, 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, MakeSimpleRelaxed, MaxMeasure, MaxZ, MinMeasure, MinZ, overlaps, relate, setSpatialReference, SRID, symDifference, touches, union, within |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OGCLineString
public OGCLineString(MultiPath mp,
int pathIndex,
SpatialReference sr)
OGCLineString
public OGCLineString(MultiPath mp,
int pathIndex,
SpatialReference sr,
boolean reversed)
numPoints
public int numPoints()
- The number of Points in this LineString.
asText
public String asText()
- Overrides:
asText in class OGCGeometry
asBinary
public ByteBuffer asBinary()
- Overrides:
asBinary in class OGCGeometry
pointN
public OGCPoint pointN(int n)
- Returns the specified Point N in this LineString.
- Parameters:
n - The 0 based index of the Point.
isClosed
public boolean isClosed()
- Specified by:
isClosed in class OGCCurve
length
public double length()
- Specified by:
length in class OGCCurve
startPoint
public OGCPoint startPoint()
- Specified by:
startPoint in class OGCCurve
endPoint
public OGCPoint endPoint()
- Specified by:
endPoint in class OGCCurve
geometryType
public String geometryType()
- Specified by:
geometryType in class OGCGeometry
locateAlong
public OGCGeometry locateAlong(double mValue)
- Specified by:
locateAlong in class OGCGeometry
locateBetween
public OGCGeometry locateBetween(double mStart,
double mEnd)
- Specified by:
locateBetween in class OGCGeometry
getEsriGeometry
public Geometry getEsriGeometry()
- Specified by:
getEsriGeometry in class OGCGeometry
Copyright © 2013. All Rights Reserved.