org.deegree.geometry.multi
Interface MultiGeometry<T extends Geometry>

Type Parameters:
T - the type of the contained geometries
All Superinterfaces:
Collection<T>, Geometry, GMLObject, Iterable<T>, List<T>, Object, TypedObjectNode
All Known Subinterfaces:
MultiCurve<T>, MultiLineString, MultiPoint, MultiPolygon, MultiSolid, MultiSurface<T>
All Known Implementing Classes:
DefaultMultiCurve, DefaultMultiGeometry, DefaultMultiLineString, DefaultMultiPoint, DefaultMultiPolygon, DefaultMultiSolid, DefaultMultiSurface

public interface MultiGeometry<T extends Geometry>
extends Geometry, List<T>

Basic aggregation type for Geometry objects.

In contrast to a CompositeGeometry, a MultiGeometry has no constraints on the topological relations between the contained geometries, i.e. their interiors may intersect.

Author:
Andreas Poth, Markus Schneider, last edited by: $Author: mschneider $

Nested Class Summary
static class MultiGeometry.MultiGeometryType
          Convenience enum type for discriminating the different types of multi geometries.
 
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry
Geometry.GeometryType
 
Method Summary
 Geometry.GeometryType getGeometryType()
          Must always return Geometry.GeometryType#MULTI_GEOMETRY.
 MultiGeometry.MultiGeometryType getMultiGeometryType()
           
 
Methods inherited from interface org.deegree.geometry.Geometry
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getId, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from interface org.deegree.commons.tom.gml.GMLObject
getGMLProperties
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getGeometryType

Geometry.GeometryType getGeometryType()
Must always return Geometry.GeometryType#MULTI_GEOMETRY.

Specified by:
getGeometryType in interface Geometry
Returns:
Geometry.GeometryType#MULTI_GEOMETRY.

getMultiGeometryType

MultiGeometry.MultiGeometryType getMultiGeometryType()
Returns:
the type of MultiGeometry, see MultiGeometry.MultiGeometryType


Copyright © 2011. All Rights Reserved.