org.postgis
public class GeometryCollection extends ComposedGeom
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GeoCollID |
EMPTY, subgeoms
ALLTYPES, dimension, GEOMETRYCOLLECTION, haveMeasure, LINEARRING, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, srid, type, UNKNOWN_SRID
Constructor and Description |
---|
GeometryCollection() |
GeometryCollection(Geometry[] geoms) |
GeometryCollection(java.lang.String value) |
GeometryCollection(java.lang.String value,
boolean haveM) |
Modifier and Type | Method and Description |
---|---|
protected Geometry[] |
createSubGeomArray(int ngeoms)
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
|
Geometry[] |
getGeometries() |
protected void |
innerWKT(java.lang.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, setSrid
equals, equals, getDimension, getSrid, getType, getTypeString, getTypeString, getValue, initSRID, isMeasured, outerWKT, outerWKT, parseSRID, toString
public static final java.lang.String GeoCollID
public GeometryCollection()
public GeometryCollection(Geometry[] geoms)
public GeometryCollection(java.lang.String value) throws java.sql.SQLException
java.sql.SQLException
public GeometryCollection(java.lang.String value, boolean haveM) throws java.sql.SQLException
java.sql.SQLException
protected Geometry[] createSubGeomArray(int ngeoms)
ComposedGeom
createSubGeomArray
in class ComposedGeom
protected Geometry createSubGeomInstance(java.lang.String token, boolean haveM) throws java.sql.SQLException
ComposedGeom
createSubGeomInstance
in class ComposedGeom
java.sql.SQLException
protected void innerWKT(java.lang.StringBuffer SB)
Geometry
innerWKT
in class ComposedGeom
public Geometry[] getGeometries()
Copyright © 2016. All Rights Reserved.