Package io.github.sebasbaumh.postgis
Class GeometryCollection
java.lang.Object
io.github.sebasbaumh.postgis.Geometry
io.github.sebasbaumh.postgis.MultiGeometry<Geometry>
io.github.sebasbaumh.postgis.GeometryCollection
- All Implemented Interfaces:
Serializable,Iterable<Geometry>
Geometry Collection.
- Author:
- [email protected]
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe OGIS geometry type number for feature collections.Fields inherited from class io.github.sebasbaumh.postgis.MultiGeometry
subgeomsFields inherited from class io.github.sebasbaumh.postgis.Geometry
UNKNOWN_SRID -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instance.GeometryCollection(Iterable<Geometry> geoms) Constructs an instance. -
Method Summary
Methods inherited from class io.github.sebasbaumh.postgis.MultiGeometry
add, addAll, checkConsistency, equals, getCoordinates, getGeometries, getNumberOfCoordinates, hashCode, hasMeasure, is3d, isEmpty, iterator, setSrid, size, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
TYPE
public static final int TYPEThe OGIS geometry type number for feature collections.- See Also:
-
-
Constructor Details
-
GeometryCollection
public GeometryCollection()Constructs an instance. -
GeometryCollection
Constructs an instance.- Parameters:
geoms- geometries
-