org.postgis
public class Polygon extends ComposedGeom
EMPTY, subgeomsALLTYPES, dimension, GEOMETRYCOLLECTION, haveMeasure, LINEARRING, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, srid, type, UNKNOWN_SRID| Constructor and Description |
|---|
Polygon() |
Polygon(LinearRing[] rings) |
Polygon(java.lang.String value) |
Polygon(java.lang.String value,
boolean haveM) |
| Modifier and Type | Method and Description |
|---|---|
protected Geometry[] |
createSubGeomArray(int ringcount)
Return the appropriate instance of the subgeometry array - this
encapsulates subclass specific array instantiation
|
protected Geometry |
createSubGeomInstance(java.lang.String token,
boolean haveM)
Return the appropriate instance of the subgeometry - this encapsulates
subclass specific constructor calls
|
LinearRing |
getRing(int idx) |
int |
numRings() |
checkConsistency, equalsintern, getFirstPoint, getLastPoint, getPoint, getSubGeometry, hashCode, innerWKT, isEmpty, iterator, mediumWKT, numGeoms, numPoints, setSridequals, equals, getDimension, getSrid, getType, getTypeString, getTypeString, getValue, initSRID, isMeasured, outerWKT, outerWKT, parseSRID, toStringpublic Polygon()
public Polygon(LinearRing[] rings)
public Polygon(java.lang.String value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic Polygon(java.lang.String value,
boolean haveM)
throws java.sql.SQLException
java.sql.SQLExceptionprotected Geometry createSubGeomInstance(java.lang.String token, boolean haveM) throws java.sql.SQLException
ComposedGeomcreateSubGeomInstance in class ComposedGeomjava.sql.SQLExceptionprotected Geometry[] createSubGeomArray(int ringcount)
ComposedGeomcreateSubGeomArray in class ComposedGeompublic int numRings()
public LinearRing getRing(int idx)
Copyright © 2016. All Rights Reserved.