public class MultiPolygon extends ComposedGeom
EMPTY, subgeoms
ALLTYPES, dimension, GEOMETRYCOLLECTION, haveMeasure, LINEARRING, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, srid, type, UNKNOWN_SRID
Modifier | Constructor and Description |
---|---|
|
MultiPolygon() |
|
MultiPolygon(Polygon[] polygons) |
|
MultiPolygon(String value) |
protected |
MultiPolygon(String value,
boolean haveM) |
Modifier and Type | Method and Description |
---|---|
protected Geometry[] |
createSubGeomArray(int npolygons)
Return the appropriate instance of the subgeometry array - this
encapsulates subclass specific array instantiation
|
protected Geometry |
createSubGeomInstance(String token,
boolean haveM)
Return the appropriate instance of the subgeometry - this encapsulates
subclass specific constructor calls
|
Polygon |
getPolygon(int idx) |
Polygon[] |
getPolygons() |
int |
numPolygons() |
checkConsistency, equalsintern, getFirstPoint, getLastPoint, getPoint, getSubGeometry, hashCode, innerWKT, isEmpty, iterator, mediumWKT, numGeoms, numPoints, setSrid
equals, equals, getDimension, getSrid, getType, getTypeString, getTypeString, getValue, initSRID, isMeasured, outerWKT, outerWKT, parseSRID, toString
public MultiPolygon()
public MultiPolygon(Polygon[] polygons)
public MultiPolygon(String value) throws SQLException
SQLException
protected MultiPolygon(String value, boolean haveM) throws SQLException
SQLException
protected Geometry[] createSubGeomArray(int npolygons)
ComposedGeom
createSubGeomArray
in class ComposedGeom
protected Geometry createSubGeomInstance(String token, boolean haveM) throws SQLException
ComposedGeom
createSubGeomInstance
in class ComposedGeom
SQLException
public int numPolygons()
public Polygon getPolygon(int idx)
public Polygon[] getPolygons()
Copyright © 2014. All rights reserved.