|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface Polygon
A Polygon is a planar Surface, defined by 1 exterior boundary and 0 or more interior boundaries. Each interior boundary defines a hole in the Polygon.
The combination of 1 and 3 make a Polygon a regular closed point set.
Polygons are simple geometries.
Surface,
Geometry,
MultiPolygon| Method Summary | |
|---|---|
LineString |
exteriorRing()
Returns the exterior ring of a Polygon. |
LineString |
interiorRingN(int index)
Returns the interior ring at the specified position in this Polygon. |
int |
numInteriorRings()
Returns the number of interior rings in this Polygon. |
| Methods inherited from interface com.ibm.spatial.geom.Surface |
|---|
area, centroid, perimeter, pointOnSurface |
| Methods inherited from interface com.ibm.spatial.geom.Geometry |
|---|
asBinary, asText, boundary, buffer, contains, convexHull, crosses, difference, dimension, disjoint, distance, envelope, envelopesIntersect, equals, extent, exterior, interior, intersection, intersects, is3D, isEmpty, isMeasured, isSimple, isValid, locateAlong, locateBetween, numPoints, overlaps, srid, symmetricDiff, touches, union, within |
| Method Detail |
|---|
LineString exteriorRing()
LineString interiorRingN(int index)
index - index of element to return.
java.lang.IndexOutOfBoundsException - if the index is out of range (index
< 0 || index >= NumRings-1).LineStringint numInteriorRings()
|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||