org.opengis.geometry.aggregate
Interface MultiPrimitive

All Superinterfaces:
Aggregate, Geometry, TransfiniteSet
All Known Subinterfaces:
MultiCurve, MultiPoint, MultiSurface

@UML(identifier="GM_MultiPrimitive",
     specification=ISO_19107)
public interface MultiPrimitive
extends Aggregate

Specialization of the Aggregate interface that restricts the elements to only being of type Primitive.

Since:
GeoAPI 1.0

Method Summary
 Set<? extends Primitive> getElements()
          Returns the set containing the primitives that compose this aggregate.
 
Methods inherited from interface Geometry
clone, distance, getBoundary, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform
 
Methods inherited from interface TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Method Detail

getElements

@UML(identifier="element",
     obligation=MANDATORY,
     specification=ISO_19107)
Set<? extends Primitive> getElements()
Returns the set containing the primitives that compose this aggregate. The set may be modified if this geometry is mutable.

Specified by:
getElements in interface Aggregate
Returns:
The set containing the elements that compose this aggregate.


Copyright © 1996-2014 Geotools. All Rights Reserved.