public class GeometryCollection<T extends Geometry> extends Geometry
| Modifier | Constructor and Description |
|---|---|
|
GeometryCollection(boolean hasZ,
boolean hasM)
Constructor
|
protected |
GeometryCollection(GeometryType type,
boolean hasZ,
boolean hasM)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGeometry(T geometry)
Add a geometry
|
List<T> |
getGeometries()
Get the list of geometries
|
int |
numGeometries()
Get the number of geometries in the collection
|
void |
setGeometries(List<T> geometries)
Set the geometries
|
getGeometryType, getWkbCode, hasM, hasZpublic GeometryCollection(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mprotected GeometryCollection(GeometryType type, boolean hasZ, boolean hasM)
type - geometry typehasZ - has zhasM - has mpublic void setGeometries(List<T> geometries)
geometries - geometriespublic void addGeometry(T geometry)
geometry - geometrypublic int numGeometries()
Copyright © 2015 National Geospatial-Intelligence Agency. All rights reserved.