com.esri.core.geometry.ogc
public class OGCPolygon extends OGCSurface
esriSR| Constructor and Description |
|---|
OGCPolygon(Polygon src,
int exteriorRing,
SpatialReference sr) |
OGCPolygon(Polygon geom,
SpatialReference sr) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
asBinary() |
String |
asText() |
OGCMultiCurve |
boundary() |
OGCGeometry |
convertToMulti()
Converts this Geometry to the OGCMulti* if it is not OGCMulti* or
OGCGeometryCollection already.
|
OGCLineString |
exteriorRing()
Returns the exterior ring of this Polygon.
|
String |
geometryType() |
Geometry |
getEsriGeometry() |
OGCLineString |
interiorRingN(int n)
Returns the Nth interior ring for this Polygon as a LineString.
|
OGCGeometry |
locateAlong(double mValue) |
OGCGeometry |
locateBetween(double mStart,
double mEnd) |
int |
numInteriorRing()
Returns the number of interior rings in this Polygon.
|
area, centroid, pointOnSurfaceasGeoJson, 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, withinpublic OGCPolygon(Polygon src, int exteriorRing, SpatialReference sr)
public OGCPolygon(Polygon geom, SpatialReference sr)
public String asText()
asText in class OGCGeometrypublic ByteBuffer asBinary()
asBinary in class OGCGeometrypublic OGCLineString exteriorRing()
public int numInteriorRing()
public OGCLineString interiorRingN(int n)
n - The 0 based index of the interior ring.public OGCMultiCurve boundary()
boundary in class OGCSurfacepublic String geometryType()
geometryType 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 OGCGeometryCopyright © 2015. All Rights Reserved.