com.esri.core.geometry.ogc
Class OGCPolygon
java.lang.Object
com.esri.core.geometry.ogc.OGCGeometry
com.esri.core.geometry.ogc.OGCSurface
com.esri.core.geometry.ogc.OGCPolygon
public class OGCPolygon
- extends OGCSurface
| 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 |
OGCPolygon
public OGCPolygon(Polygon src,
int exteriorRing,
SpatialReference sr)
OGCPolygon
public OGCPolygon(Polygon geom,
SpatialReference sr)
asText
public String asText()
- Overrides:
asText in class OGCGeometry
asBinary
public ByteBuffer asBinary()
- Overrides:
asBinary in class OGCGeometry
exterorRing
public OGCLineString exterorRing()
- Returns the exterior ring of this Polygon.
- Returns:
- OGCLinearRing instance.
numInteriorRing
public int numInteriorRing()
- Returns the number of interior rings in this Polygon.
interiorRingN
public OGCLineString interiorRingN(int n)
- Returns the Nth interior ring for this Polygon as a LineString.
- Parameters:
n - The 0 based index of the interior ring.
- Returns:
- OGCLinearRing instance.
boundary
public OGCMultiCurve boundary()
- Specified by:
boundary in class OGCSurface
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.