public class GeometryCollection extends ComposedGeom
| Modifier and Type | Field and Description |
|---|---|
static String |
GeoCollID |
EMPTY, subgeomsALLTYPES, dimension, GEOMETRYCOLLECTION, haveMeasure, LINEARRING, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, srid, type, UNKNOWN_SRID| Constructor and Description |
|---|
GeometryCollection() |
GeometryCollection(Geometry[] geoms) |
GeometryCollection(String value) |
GeometryCollection(String value,
boolean haveM) |
| Modifier and Type | Method and Description |
|---|---|
protected Geometry[] |
createSubGeomArray(int ngeoms)
Return the appropriate instance of the sub-geometry array - this
encapsulates subclass specific array instantiation
|
protected Geometry |
createSubGeomInstance(String token,
boolean haveM)
Return the appropriate instance of the sub-geometry - this encapsulates
subclass specific constructor calls
|
Geometry[] |
getGeometries() |
protected void |
innerWKT(StringBuffer SB)
Render the "inner" part of the WKT (inside the brackets) into the
StringBuffer.
|
checkConsistency, equalsintern, getFirstPoint, getLastPoint, getPoint, getSubGeometry, hashCode, isEmpty, iterator, mediumWKT, numGeoms, numPoints, setSridequals, equals, getDimension, getSrid, getType, getTypeString, getTypeString, getValue, initSRID, isMeasured, outerWKT, outerWKT, parseSRID, toStringpublic static final String GeoCollID
public GeometryCollection()
public GeometryCollection(Geometry[] geoms)
public GeometryCollection(String value) throws SQLException
SQLExceptionpublic GeometryCollection(String value, boolean haveM) throws SQLException
SQLExceptionprotected Geometry[] createSubGeomArray(int ngeoms)
ComposedGeomcreateSubGeomArray in class ComposedGeomngeoms - number of elements in the arrayprotected Geometry createSubGeomInstance(String token, boolean haveM) throws SQLException
ComposedGeomcreateSubGeomInstance in class ComposedGeomtoken - The token containing the value for the sub-geometryhaveM - flag to indicate the existence of a measureSQLException - if a SQLException is thrownprotected void innerWKT(StringBuffer SB)
GeometryinnerWKT in class ComposedGeomSB - StringBuffer to render intopublic Geometry[] getGeometries()
Copyright © 2018. All rights reserved.